predict.cv.rss | R Documentation |
Generate predictions given new data using a given parameter pair (k,h)
.
## S3 method for class 'cv.rss'
predict(object, x.new, k = "k.min", h = "h.min", ...)
object |
an object of class |
x.new |
a matrix of new values for the predictors |
k |
the number of predictors indexing the desired fit; 'k.min' uses best |
h |
the number of observations indexing the desired fit; 'h.min' uses best |
... |
any other arguments |
An array of predictions.
Ryan Thompson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.