[ top | up ]

Extract Model Coefficents

Syntax

coefficients(x, ...)
coef(x, ...)

Arguments

x an object for which the extraction of model coefficients is meaningful.
... other arguments.

Value

These are generic functions which extract model coefficents from objects returned by modeling functions. The abbreviated form coef is intended to encourage users to access object components through an accessor function rather than by directly referencing an object slot.

All object classes which are returned by model fitting functions should provide a coefficients method.

See Also

fitted.values, glm, lm, residuals.