Re: [R-sig-eco] Vegan_package: Plot PCA

2019-02-27 Thread Lara Silva
Thank you! Eduard Szöcs escreveu no dia terça, 26/02/2019 à(s) 23:24: > biplot() has a "choices" argument for this. > > Eduard > > Am 27. Feb. 2019, um 01:19, Lara Silva schrieb: >> >> Hello, >> >> I am using the VEGAN package to do PCA of my variables. >> >> >> bio.pca <- rda(variables, scale=

Re: [R-sig-eco] Vegan_package: Plot PCA

2019-02-27 Thread Lara Silva
Thank you! Abdoul Dia escreveu no dia terça, 26/02/2019 à(s) 23:38: > If I do understand this is what you are looking for : > > plot(x, choices = c(1, 2), display = c("sp", "wa", "cn"), > scaling = 2, type, xlim, ylim, const, ...) > > > The option choices helps you to select the axis. I

Re: [R-sig-eco] Vegan_package: Plot PCA

2019-02-26 Thread Abdoul Dia
If I do understand this is what you are looking for : plot(x, choices = c(1, 2), display = c("sp", "wa", "cn"), scaling = 2, type, xlim, ylim, const, ...) The option choices helps you to select the axis. In your case it would be choices = c(1,3) [axis 1 vs 3] or choices = c(2,3) [axis 2

[R-sig-eco] Vegan_package: Plot PCA

2019-02-26 Thread Lara Silva
Hello, I am using the VEGAN package to do PCA of my variables. bio.pca <- rda(variables, scale=TRUE) # Argument scale=TRUE bio.pca summary(bio.pca) # Default scaling 2 summary(bio.pca, scaling=2) sum_bio <-summary(bio.pca) names(sum_bio) sum_bio$species #make basic plot biplot(env.pc