line(x, y) coefficients(tukeyline.obj) residuals(tukeyline.obj) fitted.values(tukeyline.obj) print(tukeyline.obj)
x,y
| the arguments can be any way of specifying x-y pairs. |
tukeyline
.
Methods are available for the generic functions coefficients
,
residuals
, fitted.values
, and print
.
lm
.library(eda) data(cars) plot(cars) z <- line(cars) abline(coef(z))