SILINE(1G) COMMAND REFERENCE SILINE(1G)
NAME
siline - generate a line given slope and intercept
SYNOPSIS
siline [ -cn ] [ -in ] [ -nn ] [ -sn ] [ vector ... ]
DESCRIPTION
Output is a vector of values slope*x+intercept, where x
takes on values from vector(s). If the -n option is given,
vector is the ascending positive integers. If neither the n
option nor a vector is given, vector comes from the standard
input.
OPTIONS
-cn n is the number of output elements per line.
-in n is the intercept, 0 if not given.
-nn n is the number of positive integers to be used for x.
-sn n is the slope, 1 if not given.
EXAMPLES
The following example outputs a simple linear fit of vector
B on vector A. (The o option of lreg(1g) outputs the slope
and intercept in option form of B regressed on A.)
siline -`lreg -o,FA B` A
SEE ALSO
abs(1g), af(1g), bar(1g), bel(1g), bucket(1g), ceil(1g),
cor(1g), cusum(1g), cvrtopt(1g), dtoc(1g), erase(1g),
exp(1g), floor(1g), gamma(1g), gas(1g), gd(1g), ged(1g),
graphics(1g), gtop(1g), hardcopy(1g), hilo(1g), hist(1g),
hpd(1g), intro(1g), label(1g), list(1g), log(1g), lreg(1g),
mean(1g), mod(1g), pair(1g), pd(1g), pie(1g), plot(1g),
point(1g), power(1g), prime(1g), prod(1g), ptog(1g),
qsort(1g), quit(1g), rand(1g), rank(1g), remcom(1g),
root(1g), round(1g), sin(1g), subset(1g), td(1g),
tekset(1g), title(1g), total(1g), ttoc(1g), var(1g),
vtoc(1g), whatis(1g), yoo(1g), and gps(5g).
Printed 10/17/86 1
%%index%%
na:72,86;
sy:158,221;
de:379,457;
op:836,352;
ex:1188,293;
se:1481,1429;
%%index%%000000000106