search for: plsrcue

Displaying 1 result from an estimated 1 matches for "plsrcue".

2017 Dec 05
2
PLS in R
Hello, I need help with a partial least square regression in R. I have read both the vignette and the post on R bloggers but it is hard to figure out how to do it. Here is the script I wrote: library(pls) plsrcue<- plsr(cue~fb+cn+n+ph+fung+bact+resp, data = cue, ncomp=7, na.action = NULL, method = "kernelpls", scale=FALSE, validation = "LOO", model = TRUE, x = FALSE, y = FALSE) summary(plsrcue) and I got this output, where I think I can choose the number of components based on RMSEP,...