Learn R Programming

SLOPE

Efficient implementations for Sorted L-One Penalized Estimation (SLOPE): generalized linear models regularized with the sorted L1-norm. There is support for ordinary least-squares regression, binomial regression, multinomial regression, and poisson regression, as well as both dense and sparse predictor matrices. In addition, the package features predictor screening rules that enable efficient solutions to high-dimensional problems.

Installation

You can install the current stable release from CRAN with

install.packages("SLOPE")

or the development version from GitHub with

# install.packages("remotes")
remotes::install_github("jolars/SLOPE")

Versioning

SLOPE uses semantic versioning.

Code of conduct

Please note that the ‘SLOPE’ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Copy Link

Version

Install

install.packages('SLOPE')

Monthly Downloads

407

Version

1.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Johan Larsson

Last Published

July 2nd, 2025

Functions in SLOPE (1.0.1)

regularizationWeights

Generate Regularization (Penalty) Weights for SLOPE
trainSLOPE

Train a SLOPE model
wine

Wine cultivars
plotDiagnostics

Plot results from diagnostics collected during model fitting
plotClusters

Plot cluster structure
student

Student performance
predict.SLOPE

Generate predictions from SLOPE models
sortedL1Prox

Sorted L1 Proximal Operator
SLOPE-package

SLOPE: Sorted L1 Penalized Estimation
cvSLOPE

Tune SLOPE with cross-validation
deviance.SLOPE

Model deviance
SLOPE

Sorted L-One Penalized Estimation
coef.SLOPE

Obtain coefficients
score

Compute one of several loss metrics on a new data set
print.SLOPE

Print results from SLOPE fit
plot.TrainedSLOPE

Plot results from cross-validation
createFolds

Create cross-validation folds
bodyfat

Bodyfat
heart

Heart disease
setup_diagnostics

Setup a data.frame of diagnostics
interpolateCoefficients

Interpolate coefficients
abalone

Abalone
plot.SLOPE

Plot coefficients
interpolatePenalty

Interpolate penalty values