[R] regarding CCA plot
Gilson Correia de Carvalho
b|og||@on @end|ng |rom gm@||@com
Sat Dec 9 15:58:22 CET 2023
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
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Não
contém vírus.www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Em sáb., 9 de dez. de 2023 às 06:50, shailendra pal <
palshailendra9 using gmail.com> escreveu:
> 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(ggplot2)
> library(dplyr)
> rassspec<-read.csv("C:/Users/hp/Desktop/R_data/rassspec.csv", header=T,
> stringsAsFactors=T)
> rassevee<-read.csv("C:/Users/hp/Desktop/R_data/rassenv.csv", header=T,
> stringsAsFactors=T)
> sptrans <- decostand(rassspec, "hellinger")
> envtrans <- decostand(rassevee, "hellinger")
>
> vare.cca <- cca(sptrans, envtrans)
>
>
> Any kind of help will be appreciable
> Thanking you
> regards
>
> Shailendra Pal
>
> Research Scholar
> Plant Ecology Lab
> (Prof. S.C. Garkoti)
> School of Environmental Sciences
> JNU, New Delhi
> 110067
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Gilson Correia de Carvalho
----------------------------------------------------
Doutor em Ecologia *(PhD. in Ecology)*
Mestre em Ecologia e Biomonitoramento* (Master in Ecology and
Biomonitoring) *
Bacharel em Ciências Biológicas *(Bachelor in Biological Sciences)*
CV Lattes: http://lattes.cnpq.br/8361386734266580
ResearcherID: F-8051-2014
Scopus Author ID: 35236290200
ORCID ID: https://orcid.org/0000-0003-1800-888X
Google Scholar: Rj5FlvYAAAAJ&hl
----------------------------------------------------
Chefe do Departamento de Biotecnologia (Head of the Department of
Biotechnology)
----------------------------------------------------
Professor Associado I *(Associate Professor Level I of IV)*
Departamento de Biotecnologia *(Department of Biotechnology)*
Instituto de Ciências da Saúde *(Institute of Health Sciences)*
Universidade Federal da Bahia
*(Federal University of Bahia)*
-----------------------------------------------------
Sócio-Cotista *(Shareholder)*
Holos Soluções Ambientais Ltda
-----------------------------------------------------
Skype: bio_gilson
Hangouts: biogilson
[[alternative HTML version deleted]]
More information about the R-help
mailing list