LOCFIT: R and S-Plus Help

lf Locfit term in Additive Model formula lf
Usage:


lf(..., alpha=0.7, deg=2, scale=1, kern="tcub", ev="tree", maxk=100)
Description:

This function is used to specify a smooth term in a gam() model formula.

At the time of writing, gam is not available in R.

Arguments:

...
numeric predictor variable(s)
alpha
and other arguments are as in locfit.raw().
Examples:


# fit an additive semiparametric model to the ethanol data.
if (exists("gam")) {  # shut up R's checks
fit <- gam(NOx~lf(E)+C,data=ethanol)
plot(fit)
}
See Also:

Key Words:

models