A tutorial R package for illustrating how to fit, evaluate, and report spectra-trait PLSR models. The package provides functions to enhance the base functionality of the R pls package, identify an optimal number of PLSR components, standardize model validation, and vignette examples that utilize datasets sourced from EcoSIS (ecosis.org)
JL modifications based on the Shawn's code to simplify, avoid repetitions, make it agnostic to main variable (LMA) and use the pls jackknife