Re: [R] Help with PCA data file prep and R code

2016-09-21 Thread Sarah Stinson
eso.pca$rotation)) p + geom_text(data=loadings, mapping=aes(x = PC1, y = PC2, label = .names, colour = .names)) + coord_fixed(ratio=1) + labs(x = "PC1", y = "PC2") On Tue, Sep 20, 2016 at 10:28 PM, Sarah Stinson <sastin...@ucdavis.edu> wrote: > Hello

[R] Help with PCA data file prep and R code

2016-09-21 Thread Sarah Stinson
Hello DRUGs, I'm new to R and would appreciate some expert advice on prepping files for, and running, PCA... My data set consists of aquatic invertebrate and zooplankton count data and physicochemical measurements from an ecotoxicology study. Four chemical treatments were applied to mesocosm