Re: [R] cca in vegan (formula instead of community matrix data)

2010-07-17 Thread Gavin Simpson
On Sat, 2010-07-17 at 12:44 +0800, elaine kuo wrote: > 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 soluti

Re: [R] cca in vegan (formula instead of community matrix data)

2010-07-16 Thread Bill.Venables
you do not need to put a "datam$" in front of the terms in your formula.) -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of elaine kuo Sent: Saturday, 17 July 2010 2:45 PM To: r-help@r-project.org Subject: [R] cca in vegan

[R] cca in vegan (formula instead of community matrix data)

2010-07-16 Thread elaine kuo
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