Re: [R] regarding CCA plot

2023-12-09 Thread Gilson Correia de Carvalho
Dear Shailendra, For me the problem is not related to R or Rstudio or even vegan. The CCA analysis can not be done with denuded site, as the sum will be zero. "all row sums must be >0 in the community data matrix" Best regards, GCC

Re: [R] regarding CCA plot

2023-12-09 Thread Ivan Krylov
Dear Shailendra Pal, Welcome to the R-help mailing list! Most of us are not members of RStudio in any way. Your problem is also purely about programming in R, so you've come to the right place. You have also done the right thing by showing us the code. On Fri, 8 Dec 2023 16:08:51 +0530 shailendra

[R] regarding CCA plot

2023-12-09 Thread shailendra pal
Hii rstudio members I am learning rstudio, For my manuscript I am trying to plot CCA using species and environmental data. But I am getting error like Error in cca.default(sptrans, envtrans) : all row sums must be >0 in the community data matrix *My code is like * library(vegan) library(ggplot