Learn R Programming

locfit (version 19980714-2)

fitted.locfit: Fitted values for a `"locfit"' object.

Usage

fitted(object, data, what, se.fit, cv. tr)

Arguments

object
"locfit" object.
data
The data frame for the original fit. Usually, shouldn't be needed.
what
What to compute fitted values of. See preplot.locfit().
se.fit
If TRUE, standard errors of fit are also computed.
cv
If TRUE, leave-one-out cross validated fitted values are approximated.
tr
Back transformation for likelihood models.

Value

  • A numeric vector of the fitted values.