regression {RGeoS} | R Documentation |
Linear Regression
regression(db, icol1=1, icol2=2, flag.bivar=1, verbose = 0, save.coeff = FALSE, flag.draw=FALSE, ...)
db |
The |
icol1 |
Rank of the column containing the first target variable (only used when flag.bivar=1) |
icol2 |
Rank of the column containing the second target variable (only used when flag.bivar=1) |
flag.bivar |
|
verbose |
1 for a verbose printout |
save.coeff |
Defines the output option:
|
flag.draw |
When TRUE (and if flag.bivar is TRUE and a graphic already exists), the regression line is overlaid on the current figure. |
... |
Parameters passed to the function line used to represent the regression line |
The returned value depends upon the argument save.coeffs.