L1pack: Routines for L1 estimation

L1pack provides routines to perform L1 estimation in linear regression models, estimation of mean and covariance matrix using the multivariate Laplace distribution, and multivariate random number generation for the Laplace distribution. A basic set of methods for printing the results is also available.

Currently, the L1pack provides support for the following R packages:

ConnectednessApproach drugDemand india reverseR

Resources

Latest binaries and sources can be found at the CRAN package repository:

Reference Manual

Installation

Install L1pack from CRAN using.

install.packages("L1pack")

You can install the latest development version from github with:

# install.packages("devtools")
# devtools::install_github("faosorios/L1pack")
install.packages("L1pack", repos = c('https://faosorios.r-universe.dev', 'https://cloud.r-project.org'))

Alternatively, you can download the source as a tarball or as a zip file. Unpack the tarball or zipfile (thereby creating a directory named, L1pack) and install the package source by executing (at the console prompt)

R CMD INSTALL L1pack

Next, you can load the package by using the command library(L1pack)

Methods

The methods implemented in L1pack include:

Citation

To cite package L1pack in publications use:

citation("L1pack")
 
To cite package L1pack in publications use:
 
  Osorio, F., Wolodzko, T. (2026). Routines for L1 estimation. R
  package version 0.62-4. URL: https://github.com/faosorios/L1pack
 
A BibTeX entry for LaTeX users is
 
  @Manual{,
   title = {Routines for L1 estimation},
   author = {F. Osorio and T. Wolodzko},
   year = {2026},
   note = {R package version 0.62-4},
   url = {https://github.com/faosorios/L1pack},
  }

Papers using L1pack

Providing Feedback

Please report any bugs/suggestions/improvements to Felipe Osorio. If you find these routines useful or not then please let me know. Also, acknowledgement of the use of the routines is appreciated.

About the Authors

Felipe Osorio is an applied statistician and creator of several R packages

Tymoteusz Wolodzko is Software Engineer and Machine Learning Engineer. Also is elected moderator for CrossValidated.com