Skip to contents

Model fitting

grpreg()
Fit a group penalized regression path
grpsurv()
Fit an group penalized survival model
gBridge()
Fit a group bridge regression path

Model selection and cross-validation

cv.grpreg() cv.grpsurv()
Cross-validation for grpreg/grpsurv
plot(<cv.grpreg>)
Plots the cross-validation curve from a cv.grpreg object
summary(<cv.grpreg>) print(<summary.cv.grpreg>)
Summarizing inferences based on cross-validation
AUC()
Calculates AUC for cv.grpsurv objects
select()
Select an value of lambda along a grpreg path

Plotting and extracting model features

logLik(<grpreg>) logLik(<grpsurv>)
logLik method for grpreg
predict(<cv.grpreg>) coef(<cv.grpreg>) predict(<grpreg>) coef(<grpreg>)
Model predictions based on a fitted grpreg object
predict(<grpsurv>)
Model predictions for grpsurv objects
plot(<grpreg>)
Plot coefficients from a "grpreg" object
plot(<grpsurv.func>)
Plot survival curve for grpsurv model
residuals(<grpreg>)
Extract residuals from a grpreg or grpsurv fit

Utilities for additive models

expand_spline()
Expand feature matrix using basis splines
gen_nonlinear_data()
Generate nonlinear example data
plot_spline()
Plot spline curve for a fitted additive model

Data sets

Birthwt
Risk Factors Associated with Low Infant Birth Weight
Lung
VA lung cancer data set