predict.locfit Prediction from a Locfit object. predict.locfit

Usage:


predict(object, newdata, se.fit=F, ...)

Arguments:

object
Fitted object from locfit().
newdata
Points to predict at. Can be given in several forms: vector/matrix; list, data frame.
se.fit
If TRUE, standard errors are computed along with the fitted values.
...
Additional arguments to preplot.locfit.

Value:

If se.fit=F, a numeric vector of predictors. If se.fit=T, a list with components fit, se.fit and residual.scale.

Examples:


data(ethanol)
fit <- locfit(NOx~E,data=ethanol)
predict(fit,c(0.6,0.8,1.0))

Key Words:

locfit
  Locfit Home   Help Index  

Built: Fri Nov 10 18:52:58 EST 2000
Copyright © 2000, Lucent Technologies
Author: Catherine Loader