Hi, I run Principal Component Regression (PCR) on my data and I got some components.
Hoever, explvar(pcr.stdize) only shows the explained variation of each component. How can I get the contribution of each factor in each component, say 1st component? For example, I have five variables and one response. How can I get the contribution of each variable of 1st component? Are coef () or loadings() the right functions? But I don't know how to get the contribution from the values from these two functions. Thanks for your help. Sean -- View this message in context: http://r.789695.n4.nabble.com/How-to-get-percent-contribution-of-each-factor-of-1st-component-from-Principal-Component-Regression--tp3237819p3237819.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list 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.