| predict.locfit(locfit) | R Documentation |
predict(object, newdata, se.fit=FALSE, ...)
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().
|
If se.fit=FALSE, a numeric vector of predictors.
If se.fit=TRUE, a list with components fit, se.fit and
residual.scale.
data(ethanol) fit <- locfit(NOx~E,data=ethanol) predict(fit,c(0.6,0.8,1.0))