Hi, On 1 December 2017 at 13:17, Margarida Soares <margarida.soa...@biol.lu.se> 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://cran.r-project.org/web/packages/pls/vignettes/pls-manual.pdf > However, I think I managed to write the script correctly, You are welcome to post your script here then it would easier to help you. > > but I dont understand the output on the R environment, and also how to decide on the number of components to use (from the RMSEP), and also how to do a correlation plot. Maybe this can help you: https://www.r-bloggers.com/partial-least-squares-regression-in-r/ Regards Martin [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.