predict.grpsel: Predict function for grpsel object

predict.grpselR Documentation

Predict function for grpsel object

Description

Generate predictions for new data using specified values of the tuning parameters.

Usage

## S3 method for class 'grpsel'
predict(object, x.new, lambda = NULL, gamma = NULL, ...)

Arguments

object

an object of class grpsel

x.new

a matrix of new values for the predictors

lambda

the value of lambda indexing the desired fit

gamma

the value of gamma indexing the desired fit

...

any other arguments

Value

A matrix of predictions.

Author(s)

Ryan Thompson <ryan.thompson-1@uts.edu.auu>


ryan-thompson/grpsel documentation built on Nov. 29, 2024, 8:02 p.m.