Hello I am trying to run MetaMDS but got the following error based on the code. Please kindly indicate the error source and thank you.
Elaine Code # Compute the Simpson distance matrices for the dataset (3 hr using 4GB) library(betapart) dist.sim<-beta.pair(dataR, index.family="sor") class(dist.sim) betasim.sim<-dist.sim[["beta.sim"]] class(betasim.sim) # NMDS library(vegan) nms <- metaMDS(betasim.sim,trymax=100,zerodist="add",autotransform =FALSE,k=2) Error Error in if (any(autotransform, noshare > 0, wascores) && any(comm < 0)) { : missing value where TRUE/FALSE needed [[alternative HTML version deleted]] _______________________________________________ R-sig-ecology mailing list R-sig-ecology@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-ecology