[R] Problems running IsoMDS using vegdist with pres-abs data and two sites with zero distance

From: Leonard Sandin <Leonard.Sandin_at_ma.slu.se>
Date: Sat 21 Oct 2006 - 11:19:04 GMT


Hi
I have just (finally) started to poke around in R and wanted to analyse a stream fish dataset with 28 sites and 18 species. When trying to follow the Vegan manual to run nmds from distance measures calculated by the vegdist function it turns out that I have two sites (streams) with the exactly the same four species (I have used pres-abs data in this case). When I try to run isoMDS I get an error message saying that: Error in isoMDS(vare.dis) : zero or negative distance between objects 14 and 15
i.e. the two sites with the same fish species. I can run the decorana function with "sensible" results so the dataset seems to be ok. My next step would be to compare the results of the fish ordination with some other datasets from the same sites (i.e. through procrustes rotation) - so I wouldn´t like to remove one of the "twin" sites. Any suggestion on how to circumvent this or am I simply using the wrong method?

Best wishes, Leonard

--

Dr. Leonard Sandin
Department of Environmental Assessment / Miljöanalys Swedish University of Agricultural Sciences / SLU P.O. Box 7050
SE-750 07 Uppsala
Sweden
Work phone +46-(0)18-673813
fax +46-(0)18-673156
http://www.ma.slu.se
--



R-help@stat.math.ethz.ch 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. Received on Sun Oct 22 04:35:49 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 21 Oct 2006 - 21:30:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.