plantphys / spectratrait

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)
GNU General Public License v3.0
12 stars 9 forks source link

Expanded plsr ja #19

Closed neo0351 closed 4 years ago

neo0351 commented 4 years ago

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.