summary.risk_mod | R Documentation |
Prints text that summarizes "risk_mod" objects.
## S3 method for class 'risk_mod'
summary(object, ...)
object |
An object of class "risk_mod", usually a result of a call to
|
... |
Additional arguments affecting the summary produced. |
Printed text with intercept, nonzero coefficients, gamma, lambda, and deviance
y <- breastcancer[[1]]
X <- as.matrix(breastcancer[,2:ncol(breastcancer)])
mod <- risk_mod(X, y, lambda0 = 0.01)
summary(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.