Skip to contents

Main Fitting Functions for Generalized Linear Models

The main functions to fit the penalized generalized linear models

pp.lasso()
Fit a penalized generalized regression model
cv.pp.lasso()
Cross-validation for penalized generalized regression model
grp.lasso()
Fit a group penalized generalized regression model
cv.grp.lasso()
Cross-validation for group penalized generalized regression model

Main Fitting Functions for Discrete Survival Models

The main functions to fit the penalized discrete survival model

pp.DiscSurv()
Fit a penalized discrete survival model
cv.pp.DiscSurv()
Cross-validation for penalized discrete survival model (with provider information)
DiscSurv()
Fit a penalized discrete survival model (without provider information)
cv.DiscSurv()
Cross-validation for penalized discrete survival model (without provider information)

Main Fitting Functions for Stratified Cox Models

The main functions to fit the penalized stratified cox model

Strat.cox()
Fit a penalized stratified cox model
cv.strat_cox()
Cross-validation for penalized stratified cox model

Plotting functions

plot(<ppLasso>) plot(<gr_ppLasso>)
Plot regularization path of coefficients from a ppLasso or gr_ppLasso object
plot(<ppDiscSurv>)
Plot regularization path of coefficients from a ppDiscSurv object
plot(<DiscSurv>)
Plot regularization path of coefficients from a DiscSurv object
plot(<strat_cox>)
Plot regularization path of coefficients from a strat_cox object
plot(<cv.ppLasso>) plot(<cv.gr_ppLasso>)
Plot the cross entropy loss from a cv.ppLasso or cv.gr_ppLasso object
plot(<cv.ppDiscSurv>)
Plot the cross entropy loss from a cv.ppDiscSurv object
plot(<cv.DiscSurv>)
Plot the cross entropy loss from a cv.DiscSurv object
plot(<cv.strat_cox>)
Plot the cross entropy loss from a cv.strat_cox object

Prediction functions

predict(<ppLasso>) predict(<gr_ppLasso>)
Predictions of a ppLasso or gr_ppLasso object
predict(<ppDiscSurv>)
Predictions of a ppDiscSurv object
predict(<DiscSurv>)
Predictions of a DiscSurv object
predict(<strat_cox>)
Predictions of a strat_cox object

Coefficient functions

coef(<ppLasso>) coef(<gr_ppLasso>)
Extract coefficients of a ppLasso or gr_ppLasso object
coef(<ppDiscSurv>)
Extract coefficients of a ppDiscSurv object
coef(<DiscSurv>)
Extract coefficients of a DiscSurv object
coef(<strat_cox>)
Extract coefficients of a strat_cox object

Package Data Sets

BinaryData
Example data for generalized linear models
ContTime
Example data for Cox models
DiscTime
Example data for discrete survival models