#this is all assuming you want Bray-Curtis distances, but there are other distances involved. library(vegan) library(labdsv) dis.bc <- vegdist(your.data) bc4d.nmds <- nmds(dis.bc,4) ordcomp(bc4d.nmds,dis.bc,dim=4)
On Sat, Jan 31, 2009 at 6:53 AM, Titus von der Malsburg <malsb...@gmail.com> wrote: > Hi Tomek, have a look at R News, Volume 3/3, December 2003. There you > find an article about different algorithms that are available in R. > > Titus > > On Sat, Jan 31, 2009 at 01:36:29AM +0100, Tomek Wlodarski wrote: >> now I see that cmdscale is not the best option for my problem >> So I am wondering if you can advice me other method of MDS or >> different approach to my problem: >> I have matrix which describes "distances" between object and I would >> like to visualise this matrix onto 2D in such way that distance >> between each object on this map would be somehow proportional to >> "distances" between respective points in the matrix. > > ______________________________________________ > 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. > -- Stephen Sefick Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We are mammals, and have not exhausted the annoying little problems of being mammals. -K. Mullis ______________________________________________ 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.