Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

extract pc1 and pc2 in r

pca <- prcomp(data, center=T, scale.=T)
individuals <- as.data.frame(pca$x[,1:2])
 
PREVIOUS NEXT
Tagged: #extract
ADD COMMENT
Topic
Name
8+9 =