Dear List, I tried to do cca based on species data and environmental variables (formula instead of community data). However, there was an error saying row sums must be >0. I searched the previous related messages but found few solutions. Please kindly help and thank you in advance.
code This is vegan 1.17-3 Warning message: package 'vegan' was built under R version 2.10.1 rm(list=ls()) library(vegan) datam <-read.csv("c:/migration/M_R_20100707_winterM.csv",header=T, row.names=1) dim(datam) datam[1,] m.cca <- cca(datam$WinterM_ratio~datam$topo_mean+datam$coast+datam$prec_max +datam$temp_min+datam$evi_min, datam) error in cca.default(d$X, d$Y, d$Z) : All row sums must be >0 in the community data matrix [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list 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.