Displaying 2 results from an estimated 2 matches for "margaridapmsoares".
2017 Dec 13
0
PLS in R
Margarida Soares <margaridapmsoares at gmail.com> writes:
> Thanks for your reply on pls!
> I have tried to do a correlation plot but I get the following group of
> graphs. Any way of having only 1 plot?
> This is my script:
>
> corrplot(plsrcue1, comp = 1:4, radii = c(sqrt(1/2), 1), identify = FALSE,
> type...
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 =