Displaying 1 result from an estimated 1 matches for "rassevee".
2023 Dec 08
2
regarding CCA plot
...t 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 yo...