predict.rss: Predict function for rss object

predict.rssR Documentation

Predict function for rss object

Description

Generate predictions for new data using a given parameter pair (k,h).

Usage

## S3 method for class 'rss'
predict(object, x.new, k = NULL, h = NULL, ...)

Arguments

object

an object of class rss

x.new

a matrix of new values for the predictors

k

the number of predictors indexing the desired fit

h

the number of observations indexing the desired fit

...

any other arguments

Value

An array of predictions.

Author(s)

Ryan Thompson


ryan-thompson/robustsubsets documentation built on Dec. 14, 2024, 6:25 a.m.