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)
Changed all plots to base graphics, tried to keep things in larger data.frames since repeat actions would happen. Cleaned some loops by writing functions.
Changed all plots to base graphics, tried to keep things in larger data.frames since repeat actions would happen. Cleaned some loops by writing functions.