predict.krr: Prediction for Kernel Ridge Regression

Description Usage Arguments Value See Also Examples

View source: R/krr.R

Description

Predict response given predictors, based on a krr object.

Usage

1
2
## S3 method for class 'krr'
predict(object, xnew, ...)

Arguments

object

an object of classkrr, usually the return value of function krr

xnew

a matrix of predictors.

...

further arguments passed to or from other methods.

Value

A vector of predicted response.

See Also

krr

Examples

1
  # see examples for krr

Example output

Loading required package: ggplot2
Loading required package: grid

listdtr documentation built on March 5, 2021, 1:07 a.m.