Usage
## S3 method for class 'locfit':
fitted(object, data=NULL, what="coef", cv=FALSE,
studentize=FALSE, type="fit", tr, ...)
Arguments
data
The data frame for the original fit. Usually, this shouldn't be needed,
especially when the function is called directly. It may be needed
when called inside another function.
what
What to compute fitted values of. The default, what="coef"
, works
with the fitted curve itself. Other choices include "nlx"
for the
length of the weight diagram; "infl"
for the influence function;
"band"<
cv
If TRUE
, leave-one-out cross validated fitted values are approximated.
Won't make much sense, unless what="coef"
.
studentize
If TRUE
, residuals are studentized.
type
Type of fit or residuals to compute. The default is "fit"
for
fitted.locfit
, and "dev"
for residuals.locfit
.
Other choices include "pear"
for tr
Back transformation for likelihood models.
...
arguments passed to and from methods.