[ top | up ]

Extract Model Fitted Values

Syntax

fitted.values(x, ...)
fitted(x, ...)

Arguments

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

Value

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.

See Also

coefficients, glm, lm, residuals.