simplerspec::fit_pls()
R/pls-vip.R
extract_pls_vip.Rd
VIPs are extracted based on the finalModel
sublist
in the caret::train
output contained in the model
element
of the simplerspec::fit_pls()
model output list. The VIPs for
derived number of PLS components in the finalModel
are computed.
extract_pls_vip(mout)
Model output list returned from simplerspec::fit_pls()
.
A tibble data frame with columns wavenumber
and correponding
VIP values in the column vip
for the finally chosen PLS regression
model at the final number of PLS components.