Re: [R] cca in ade4

2010-07-17 Thread Gavin Simpson
On Sat, 2010-07-17 at 13:31 +0800, elaine kuo wrote: > Dear List, > > I used spec and envi for cca in ade4. (both are data.frame) > > However, there is a message telling that > error in if (nf > rank) nf <- rank R > missing value in TRUE/FALSE > > Please kindly help how to modify the code below

[R] cca in ade4

2010-07-16 Thread elaine kuo
Dear List, I used spec and envi for cca in ade4. (both are data.frame) However, there is a message telling that error in if (nf > rank) nf <- rank R missing value in TRUE/FALSE Please kindly help how to modify the code below. Thank you. Elaine code rm(list=ls()) spec <-read.csv("c:/migration