Re: [R] PCA factominer package, question about changing labels in individuals factor map

2014-01-21 Thread Andy.P
That worked! Wow easy fix, i feel dumb! Thanks!



--
View this message in context: 
http://r.789695.n4.nabble.com/PCA-factominer-package-question-about-changing-labels-in-individuals-factor-map-tp4683924p4683941.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.


[R] PCA factominer package, question about changing labels in individuals factor map

2014-01-21 Thread Andy.P
I am looking to do a PCA with the factominer package on a dataset of mine,
named dat. The individuals in my dataset have character names, represented
in the first column of my dataset, but since they aren't quantitative I
can't include that column in my PCA analysis. Leading to the command >
res.pca = PCA(dat[,3:8], scale.unit=TRUE, ncp=5, graph=T)

This is all well and good, except when my individuals factor map shows up,
each data point is labeled as a number and not as their actual character
names.

 



 How do I go about getting the map to display the character names? If I
include the column with the names I get an error because it's not
quantitative. I know it can be done because I've seen it on the decathlon
dataset, I just don't know what they're doing differently to get those
character names on the map.



--
View this message in context: 
http://r.789695.n4.nabble.com/PCA-factominer-package-question-about-changing-labels-in-individuals-factor-map-tp4683924.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.