FKSUM (version 0.1.4)

predict.fk_regression: Predict method for class fk_regression

Description

Predict method for kernel regression. Evaluates the fitted regression function at a set of evaluation/test points

Usage

# S3 method for fk_regression
predict(object, xtest = NULL, ...)

Arguments

object

an object of class fk_regression, output from the function of the same name.

xtest

(optional) vector of evaluation/test points. If omitted then the fitted values at the original sample are returned.

...

(optional) further arguments passed to or from other methods.

Value

vector of fitted/predicted values of the regression function.