geolm {fastR2} | R Documentation |
Geometric representation of linear model
Description
geolm
create a graphical representation of the fit of a linear model.
Usage
geolm(formula, data = parent.env(), type = "xz", version = 1, plot = TRUE, ...)
to2d(x, y, z, type = NULL, xas = c(0.4, -0.3), yas = c(1, 0), zas = c(0, 1))
Arguments
formula |
a formula as used in |
data |
a data frame as in |
type |
character: indicating the type of projection to use to collapse multi-dimensional data space into two dimensions of the display. |
version |
an integer (currently |
plot |
a logical: should the plot be displayed? |
... |
other arguments passed to |
x , y , z |
numeric. |
xas , yas , zas |
numeric vector of length 2 indicating the projection of
|
Author(s)
Randall Pruim
See Also
lm
.
Examples
geolm(pollution ~ location, data = AirPollution)
geolm(distance ~ projectileWt, data = Trebuchet2)
[Package fastR2 version 1.2.4 Index]