# PLS as in NIRWise PLUS
fit_plsr(ncomp = 15)
# Standard PLS with 15 components
fit_plsr(ncomp = 15, type = "standard")
# Modified PLS with 15 components
fit_plsr(ncomp = 15, type = "modified")
# XLS as in NIRWise PLUS
fit_xlsr(ncomp = 10)
# Standard XLS with custom window range
fit_xlsr(ncomp = 10, type = "standard", min_w = 5, max_w = 20)
Run the code above in your browser using DataLab