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
11 stars 9 forks source link

Update vignette examples to always plot X axis as wavelength #99

Open serbinsh opened 1 year ago

serbinsh commented 1 year ago

Responding to user feedback I noticed that some plots use index not wavelength on the X axis.
https://github.com/TESTgroup-BNL/spectratrait/blob/master/vignettes/ely_etal_ex1_files/figure-gfm/unnamed-chunk-12-1.png

This should be an easy fix