Skip to content

Constrained Multivariate Least Squares

2packages dependsuggested by 1
8.8Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Solves multivariate least squares (MLS) problems subject to constraints on the coefficients, e.g., non-negativity, orthogonality, equality, inequality, monotonicity, unimodality, smoothness, etc. Includes flexible functions for solving MLS problems subject to user-specified equality and/or inequality constraints, as well as a wrapper function that implements 24 common constraint options. Also does k-fold or generalized cross-validation to tune constraint options for MLS problems. See ten Berge (1993, ISBN:9789066950832) for an overview of MLS problems, and see Goldfarb and Idnani (1983) doi:10.1007/BF02591962 for a discussion of the underlying quadratic programming algorithm.

Install

Health

CRAN checks
13OK
Slowest check: 1.1 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
9 (1 internal)includes a package overview page
Examples that run
88%7 run in a plain check · 1 hold no code
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
89%

Downloads

8.8K
CRAN downloads in the past year
Rank #4,597 · ~24/day · ~730/mo
Daily download trend is not available in this view yet.
73330 days
1.8K90 days
8.8K1 year
Compare downloads with other packages →
Also on219 r2u11 autocran1.3K conda_forge132 c2d4u

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing CMLS adds 1 package (1 with compiled code, 35 KB of source tarballs). Heaviest: quadprog 35 KB.

Depends (2)
quadprogparallel
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
2direct
7indirect
Depends 1 · Imports 1
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 1.0-0 (2018)
Listed in earlier versions (1)
Helwig
no longer listed · 1.1
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1Latest
    record
    2025-10-08 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0-1
    record
    2023-03-31 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0-0
    record
    2018-06-10
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-06-10
Total releases
3 / 8 yrs
License
GPL (>= 2) OSI
Download size
31 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("CMLS")
Helwig, N. E. (2025). CMLS: Constrained Multivariate Least Squares (Version 1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.CMLS

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for CMLS version 1.1 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy