Displaying 1 result from an estimated 1 matches for "stfacan".
Did you mean:
statcan
2004 Mar 17
0
mva :: prcomp
...can I figure out what these principal components are exactly?
For example PC1. Was is the exact meaning of it?
I assumed it is some linear combination of the variables I provided in
the call to prcomp, but how can i obtain this linear combination?
ps > i used http://www.statsoftinc.com/textbook/stfacan.html as a
reference, and help(prcomp/princomp) of course.
Thanks for any help!
Jonne.
# Read a table
dir = "..."
file = "..." # huge file, 12 Mb
stats = read.table(paste(dir, file, sep=""), header=TRUE)
# Select several columns
data = subset(stats, select =...