| lf | Locfit term in Additive Model formula | lf |
lf(..., alpha=0.7, deg=2, scale=1, kern="tcub", ev="tree", maxk=100)
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.
# fit an additive semiparametric model to the ethanol data. fit <- gam(NOx~lf(E)+C,data=ethanol) plot(fit)
locfit, locfit.raw, gam.lf, gam
locfit
| Locfit Home | Help Index |