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/M_R_20100718_winterM_spec_vegan.csv",header=T,
row.names=1)
dim(spec)
spec[1,]

envi <-read.csv("c:/migration/M_R_20100718_winterM_envi_vegan.csv",header=T,
row.names=1)
dim(envi)
envi[1,]

library(ade4)

w.cca  <-  cca(spec, envi, scan=TRUE)

        [[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.

Reply via email to