This is the source code repository of the CRAN package "pls".
(Recommended, unless you want to test the newest changes.)
install.packages("pls")
(If needed, install the devtools package from CRAN first.)
library(devtools)
install_github("khliland/pls")
See the help pages in the package for instructions, or (if you installed from CRAN): vignette("pls-manual"). Documentation is also avaiable as a GitHub page at https://khliland.github.io/pls/.
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.