[R] cca in vegan

Andy Bunn abunn at montana.edu
Wed Jan 14 17:17:19 CET 2004


Curious.

> I get the following error message:
> 
> Error in cca.default(cnts94, env94): All row and column sums 
> must be >0 in the community matrix

Check the row and column sums if you haven't:
colSums(cnts94)
rowSums(cnts94)

There is probably a veg plot (row) that has all zeros in it.

Just a thought.
-Andy




More information about the R-help mailing list