Re: [R] PLS in R

2017-12-12 Thread Bjørn-Helge Mevik
Margarida Soares 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 = "p" ) "Correlatio

Re: [R] PLS in R

2017-12-06 Thread Bjørn-Helge Mevik
Margarida Soares writes: > 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 th

[R] PLS in R

2017-12-05 Thread Margarida Soares
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 =

Re: [R] pls in r

2017-12-01 Thread Martin Møller Skarbiniks Pedersen
Hi, On 1 December 2017 at 13:17, Margarida Soares wrote: > I am a beginner in R, and I wonder if anyone could help me with a partial least square regression in R. > I have looked up the instructions and the manual from Bjorn Mevi and Ron Wehrens. So you have read the vignette also ? https://cra

[R] pls in r

2017-12-01 Thread Margarida Soares
Hello, I am a beginner in R, and I wonder if anyone could help me with a partial least square regression in R. I have looked up the instructions and the manual from Bjorn Mevi and Ron Wehrens. However, I think I managed to write the script correctly, but I dont understand the output on the R e