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

752

Version

1.1.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Johan Larsson

Last Published

October 30th, 2025

Functions in SLOPE (1.1.0)

cvSLOPE

Tune SLOPE with cross-validation
SLOPE-package

SLOPE: Sorted L1 Penalized Estimation
SLOPE

Sorted L-One Penalized Estimation
coef.SLOPE

Obtain coefficients
deviance.SLOPE

Model deviance
print.SLOPE

Print results from SLOPE fit
plotClusters

Plot cluster structure
plotDiagnostics

Plot results from diagnostics collected during model fitting
predict.SLOPE

Generate predictions from SLOPE models
regularizationWeights

Generate Regularization (Penalty) Weights for SLOPE
plot.SLOPE

Plot coefficients
plot.TrainedSLOPE

Plot results from cross-validation
interpolateCoefficients

Interpolate coefficients
bodyfat

Bodyfat
heart

Heart disease
createFolds

Create cross-validation folds
glioma

Glioma metabolomics
abalone

Abalone
interpolatePenalty

Interpolate penalty values
student

Student performance
trainSLOPE

Train a SLOPE model
score

Compute one of several loss metrics on a new data set
sortedL1Prox

Sorted L1 Proximal Operator
setup_diagnostics

Setup a data.frame of diagnostics
wine

Wine cultivars