One way is to use the loadingplot() function in the package `pls':

molprop.pc <- princomp(whatever)

library(pls)
loadingplot(molprop.pc, scatter = TRUE, labels = "names")

(If you want comp 2 vs. comp 1:
loadingplot(molprop.pc, comps = 2:1, scatter = TRUE, labels = "names")


-- 
Bj�rn-Helge Mevik

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to