| summary.SLOPE | R Documentation |
Produces a summary of a fitted SLOPE model, including information about the regularization path, model family, and fitted values.
## S3 method for class 'SLOPE'
summary(object, ...)
object |
an object of class |
... |
other arguments (currently ignored) |
An object of class "summary_SLOPE" with the following components:
call |
the call that produced the model |
family |
the model family |
n_obs |
number of observations |
n_predictors |
number of predictors |
has_intercept |
whether an intercept was fit |
path_length |
number of steps in the regularization path |
alpha_range |
range of alpha values in the path |
deviance_ratio_range |
range of deviance ratios in the path |
null_deviance |
null deviance |
path_summary |
data frame summarizing the regularization path |
SLOPE(), print.summary_SLOPE()
Other SLOPE-methods:
coef.SLOPE(),
deviance.SLOPE(),
plot.SLOPE(),
predict.SLOPE(),
print.SLOPE(),
score()
fit <- SLOPE(heart$x, heart$y)
summary(fit)
# Multinomial example
fit_multi <- SLOPE(wine$x, wine$y, family = "multinomial")
summary(fit_multi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.