Partial Least Squares and Principal Component Regression
Overview
Multivariate regression methods Partial Least Squares Regression (PLSR), Principal Component Regression (PCR) and Canonical Powered Partial Least Squares (CPPLS).
New features
- Added nipals() (NIPALS PLS) and nipalspcr() (NIPALS PCR) with robustness against missing data.
- Added cross-validation and test set abilities for scores() and scoreplot()
- Added pkgdown site with documentation and vignette.
User-visible changes
- Added feedback in summary() regarding number of dropped samples when missingness is present.
From inst/NEWS.Rd in the release
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: pls/tests/testthat/test_basic_pls.R (.Names: 1) '.Names' should be changed to 'names'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 38 (3 internal)includes a package overview page
- Examples that run
- 100%25 run in a plain check
- Exported functions with examples
- 76%
- Documented parameters
- 87%
- Return-value docs
- 88%
- Help pages citing references
- 39%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 19
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/khliland/pls on 2026-10-18.
GitHub Pages site last deployed 2026-08-18 · The repository has a site deploy workflow
pkgdown site last built 2026-08-18
Dependencies
Installing pls adds no packages beyond those that come with R.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 10 more dependents and 34 packages that suggest it on CRAN ↗
Code & Tests
Datasets
People & History
Previously maintained by Bjørn-Helge Mevik (2.7-0 to 2.7-3) and Kjetil Halvorsen (0.1-3).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.9-0Latest
- RR 4.5.0 released · 2025-04-11
- 2.8-52024-09-15 · diff ↗
- 2.8-4
- RR 4.4.0 released · 2024-04-24
- 2.8-32023-11-17 · diff ↗
- 2.8-22023-05-19 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.8-12022-07-16 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.8-0
- RR 4.1.0 released · 2021-05-18
- 2.7-32020-08-07 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.7-22019-10-01 · diff ↗
Show 59 earlier eventsHide 59 earlier events
- RR 3.6.0 released · 2019-04-26
- 2.7-12019-03-23 · diff ↗
- 2.7-02018-08-21 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 2.6-0
- RR 3.3.0 released · 2016-05-03
- 2.5-02015-08-22 · diff ↗
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 2.4-32013-08-10 · diff ↗
- 2.4-3-dup2013-08-10 · diff ↗
- RR 3.0.0 released · 2013-04-03
- RR 2.15.0 released · 2012-03-30
- 2.3-0
- 2.3-0-dup2011-11-27 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 2.2-02011-10-20 · diff ↗ ·
added 34 exports
MSEP, R2, RMSEP, Yloadings, Yscores, coefplot, compnames, corrplot, crossval, cvsegments, explvar, jack.test, kernelpls.fit, loading.weights, loadingplot, loadings, msc, mvr, mvrValstats, oscorespls.fit, pcr, pls.options, plsr, prednames, predplot, respnames, scoreplot, scores, simpls.fit, stdize and 4 more - 2.2-0-dup2011-10-20 · diff ↗
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- RR 2.10.0 released · 2009-10-26
- RR 2.9.0 released · 2009-04-17
- RR 2.8.0 released · 2008-10-20
- RR 2.7.0 released · 2008-04-22
- 2.1-02007-10-18 · diff ↗
- 2.1-0-dup2007-10-17 · diff ↗
- RR 2.6.0 released · 2007-10-03
- RR 2.5.0 released · 2007-04-24
- 2.0-12007-04-19 · diff ↗
- 2.0-1-dup2007-04-19 · diff ↗
- 2.0-02006-12-21 · diff ↗
- 2.0-0-dup2006-12-15 · diff ↗
- RR 2.4.0 released · 2006-10-03
- 1.2-12006-04-24 · diff ↗
- 1.2-1-dup2006-04-24 · diff ↗
- RR 2.3.0 released · 2006-04-24
- 1.2-02006-02-22 · diff ↗
- 1.2-0-dup2006-02-22 · diff ↗
- 1.1-02005-10-07 · diff ↗
- 1.1-0-dup2005-10-07 · diff ↗
- RR 2.2.0 released · 2005-10-06
- 1.0-32005-05-18 · diff ↗
- 1.0-3-dup2005-05-15 · diff ↗
- RR 2.1.0 released · 2005-04-18
- 1.0-22005-04-04 · diff ↗
- 1.0-2-dup2005-04-02 · diff ↗
- 1.0-12005-04-01 · diff ↗
- 1.0-1-dup2005-04-01 · diff ↗
- RR 2.0.0 released · 2004-10-04
- RR 1.9.0 released · 2004-04-12
- RR 1.8.0 released · 2003-10-08
- RR 1.7.0 released · 2003-04-16
- RR 1.6.0 released · 2002-10-01
- 0.1-32002-09-17 · diff ↗
- RR 1.5.0 released · 2002-04-29
- 0.1-22000-12-12 · diff ↗
- 0.1-11999-01-11
Package metadata
- First published
- 1999-01-11
- Total releases
- 40 / 27 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 305 KB / 4 files
- Download size
- 4.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pls")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.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.