predict.fk_regression: Predict method for class fk_regression

View source: R/fk_regression.R

predict.fk_regressionR 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.


FKSUM documentation built on April 15, 2023, 5:06 p.m.