predict.fk_regression {FKSUM}R Documentation

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 class '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.


[Package FKSUM version 1.0.1 Index]