| lm.summaries {base} | R Documentation |
All these functions are methods for class "lm" objects.
coefficients(object, ...) ; \method
object, x |
an object of class lm, usually, a result of a
call to lm. |
... |
further arguments passed to or from other methods. |
The generic accessor functions coefficients, effects,
fitted.values and residuals can be used to extract
various useful features of the value returned by lm.
The model fitting function lm, anova.lm.
coefficients, deviance,
df.residual,
effects, fitted.values,
glm for generalized linear models,
lm.influence for regression diagnostics,
weighted.residuals,
residuals, residuals.glm,
summary.lm.
##-- Continuing the lm(.) example: coef(lm.D90)# the bare coefficients ## The 2 basic regression diagnostic plots [plot.lm(.) is preferred] plot(resid(lm.D90), fitted(lm.D90))# Tukey-Anscombe's abline(h=0, lty=2, col = 'gray') qqnorm(residuals(lm.D90))