powered by
line(x, y)
xy.coords
"tukeyline"
coef
residuals
fitted
print
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