summary.cv.stepreg {glmnetr}R Documentation

Summarize results from a cv.stepreg() output object.

Description

Summarize results from a cv.stepreg() output object.

Usage

## S3 method for class 'cv.stepreg'
summary(object, ...)

Arguments

object

A cv.stepreg() output object

...

Additional arguments passed to the summary function.

Value

Summary of a stepreg() (stepwise regression) output object.

See Also

predict.cv.stepreg , cv.stepreg , nested.glmnetr

Examples

set.seed(955702213)
sim.data=glmnetr.simdata(nrows=1000, ncols=100, beta=c(0,1,1))
# this gives a more interesting case but takes longer to run
xs=sim.data$xs           
# this will work numerically as an example 
xs=sim.data$xs[,c(2,3,50:55)] 
dim(xs)
y_=sim.data$yt 
event=sim.data$event
# for this example we use small numbers for steps_n and folds_n to shorten run time 
cv.stepreg.fit = cv.stepreg(xs, NULL, y_, event, steps_n=10, folds_n=3, track=0)
summary(cv.stepreg.fit)



[Package glmnetr version 0.5-2 Index]