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 jl #22

Closed JulienLamour closed 4 years ago

JulienLamour commented 4 years ago

JL modifications based on the Shawn's code to simplify, avoid repetitions, make it agnostic to main variable (LMA) and use the pls jackknife