This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/fitted.values.html
fitted.values {base}R Documentation

Extract Model Fitted Values

Usage

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.


[Package base version 0.60 ]