powered by
Prints text that summarizes "risk_mod" objects.
# S3 method for risk_mod summary(object, ...)
Printed text with intercept, nonzero coefficients, gamma, lambda, and deviance
An object of class "risk_mod", usually a result of a call to risk_mod().
risk_mod()
Additional arguments affecting the summary produced.
y <- breastcancer[[1]] X <- as.matrix(breastcancer[,2:ncol(breastcancer)]) mod <- risk_mod(X, y, lambda0 = 0.01) summary(mod)
Run the code above in your browser using DataLab