powered by
geolm create a graphical representation of the fit of a linear model.
geolm
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))
to2d(x, y, z, type = NULL, xas = c(0.4, -0.3), yas = c(1, 0), zas = c(0, 1))
a formula as used in lm.
lm
a data frame as in lm.
character: indicating the type of projection to use to collapse multi-dimensional data space into two dimensions of the display.
an integer (currently 1 or 2). Which version of the plot to display.
1
2
a logical: should the plot be displayed?
other arguments passed to lm
numeric.
numeric vector of length 2 indicating the projection of c(1,0,0), c(0,1,0), and c(0,0,1).
c(1,0,0)
c(0,1,0)
c(0,0,1)
Randall Pruim
lm.
geolm(pollution ~ location, data = AirPollution) geolm(distance ~ projectileWt, data = Trebuchet2)
Run the code above in your browser using DataLab