predict.fk_regression: Predict method for class fk_regression

Description Usage Arguments Value

View source: R/fk_regression.R

Description

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

Usage

1
2
## 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.


FKSUM documentation built on April 29, 2020, 9:37 a.m.