Re: [R] Error with metaMDS

2013-06-24 Thread Gavin Simpson
On Mon, 2013-06-24 at 19:33 +0800, Suparna Mitra wrote: > H > ello R-experts, > I want to do ordination plots using vegan metaMDS. > I have a where many cells have zero values. > > I am having two different kind of errors for these two data... > Error 1 > > ord1 <- metaMDS( > X > ="bray") Th

Re: [R] Error with metaMDS

2013-06-24 Thread Sarah Goslee
Hi, On Mon, Jun 24, 2013 at 12:04 PM, Suparna Mitra wrote: > Dear Sarah, > Thanks for your reply. But I don't have any site where all the species are > 0. Well, that's what this says: > 1: In distfun(comm, method = distance, ...) : > you have empty rows: their dissimilarities may be meaningl

Re: [R] Error with metaMDS

2013-06-24 Thread Suparna Mitra
Dear Sarah, Thanks for your reply. But I don't have any site where all the species are 0. Is there anyway to calculate the dissimilarity between sites where it computes only the non-zero species values. Excluding all the zero event will result a big loss in species data. I don't want to delete th

Re: [R] Error with metaMDS

2013-06-24 Thread Sarah Goslee
Hi, What do you expect the dissimilarity between a site with no species and a site with some species to be? If you want to use Bray-Curtis dissimilarity, you need to drop the sites with no species, as the error message suggests. But if you can answer my first question, you may be able to select

[R] Error with metaMDS

2013-06-24 Thread Suparna Mitra
H ello R-experts, I want to do ordination plots using vegan metaMDS. I have a where many cells have zero values. Data structure: X[1:10,1:14] Height.1 Height.2 Height.3 Height.4 Height.5 Height.6 Height.7 Height.8 Height.9 Height.10 Height.11 Height.12 Height.13 D30I1A 460