Re: [R] Pca loading plot lables

From: Bjørn-Helge Mevik <bhx2_at_mevik.net>
Date: Tue 26 Apr 2005 - 00:20:04 EST

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

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Apr 26 00:25:32 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:25 EST