powered by
line(x, y)
xy.coords
"tukeyline"
Methods are available for the generic functions coef, residuals, fitted, and print.
coef
residuals
fitted
print
Long vectors are not supported.
lm
require(graphics) plot(cars) (z <- line(cars)) abline(coef(z)) ## Tukey-Anscombe Plot : plot(residuals(z) ~ fitted(z), main = deparse(z$call))
Run the code above in your browser using DataLab