fitted.values {base} | R Documentation |
fitted.values(x, ...)
fitted(x, ...)
x |
an object for which the extraction of model fitted values is meaningful. |
... |
other arguments. |
Fitted values extracted from the object x
.
This is a generic function which extracts fitted values
from objects returned by modeling functions.
The abbreviated form fitted
is intended to encourage users
to access object components by using an accessor function
rather than by directly referencing an object slot.
All object classes which are returned by model fitting
functions should provide a fitted.values
method.
coefficients
, glm
, lm
,
residuals
.