View source: R/fk_regression.R
predict.fk_regression | R Documentation |
Predict method for kernel regression. Evaluates the fitted regression function at a set of evaluation/test points
## S3 method for class 'fk_regression'
predict(object, xtest = NULL, ...)
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. |
vector of fitted/predicted values of the regression function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.