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

[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

Re: [R-sig-eco] Select a percentage of combinations

2019-02-26 Thread Lara Silva
Thank you very much! Regards, Lara Shane Baylis escreveu no dia terça, 26/02/2019 à(s) 01:53: > Hi Lara, > > You want to subset out 20% of the columns from a matrix, at random. Try: > > combinations <- combn(20,3) ## makes the 'all combinations' matrix > sample <-