Hi list, I am using the capscale function in vegan_2.0-7 to do a constrained principal coordinates analysis, and I kept getting the following error message: Error in Y.r[, oo, drop = FALSE] : subscript out of bounds
I googled but I couldn't find an answer. Could anyone tell me why this error msg and what to do? Here is the command I used: mod=capscale(as.dist(dist)~mydataset$Var1+Condition(mydataset$Var2)) My dataset looks like the output of column-binding the 'varespec' and 'varechem' datasets, and has 92 rows and about 3500 columns. I also fed capscale a similarity matrix in the formula. Here is more info on the R version and the OS: R version 3.0.1 (2013-05-16) Platform: x86_64-w64-mingw32/x64 (64-bit) Thanks a lot for any help or comment, Zhao -- Zhao JIN Ph.D. Candidate Ruth Ley Lab 467 Biotech Field of Microbiology, Cornell University Lab: 607.255.4954 Cell: 412.889.3675 [[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.