The Lawson-Hanson Algorithm for Non-Negative Least Squares (NNLS)

An R interface to the Lawson-Hanson implementation of an algorithm for non-negative least squares (NNLS). Also allows the combination of non-negative and non-positive constraints.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("nnls")

1.6 by Katharine Mullen, 2 years ago


Browse source code at https://github.com/cran/nnls


Authors: Katharine M. Mullen [aut] , Ivo H. M. van Stokkum [aut] , Katharine Mullen [cre]


Documentation:   PDF Manual  


GPL (>= 2) license


Suggests bvls, quadprog


Imported by ADAPTS, Anthropometry, Cascade, CimpleG, EMMAgeo, FARDEEP, FluxPoint, FracFixR, GARCH.X, GeoFIS, LightFitR, MethScope, Patterns, SpaCCI, SuperSurv, TIMP, accucor, adamethods, alphastable, bnpsd, causalweight, cgaim, ddml, drpop, hNMF, isotone, lmtp, mboost, miscIC, nadir, nmathresh, osd, poolfstat, randnet, rrcov3way, simest, smacof, stepSplitReg, studyStrap, survalis, tfarima, vrnmf, yaap, zetadiv.

Depended on by ALS, Libra, SuperLearner, archetypes, nlsic.

Suggested by CausalState, ast2ast, cSEM, ltmle, riskRegression, sigminer, targeted, txshift.


See at CRAN