predict.groupfs: Prediction and coefficient functions for 'groupfs'.

Description Usage Arguments Value

View source: R/funs.groupfs.R

Description

Make predictions or extract coefficients from a groupfs forward stepwise object.

Usage

1
2
## S3 method for class 'groupfs'
predict(object, newx)

Arguments

object

Object returned by a call to groupfs.

newx

Matrix of x values at which the predictions are desired. If NULL, the x values from groupfs fitting are used.

Value

A vector of predictions or a vector of coefficients.


selectiveInference documentation built on Sept. 7, 2019, 9:02 a.m.