Re: [R-sig-eco] Dissimilarity ranking

2010-12-10 Thread zhangjl
ng Zhang Ph.D.Candidate State Key Laboratory for Vegetation and Environmental Change, Institute of Botany, The Chinese Academy of Sciences Nanxincun 20,Xiangshan, Beijing 100093 E-mails: zhan...@ibcas.ac.cn jinlongzhan...@gmail.com 发件人: Yong Zhang 发送时间: 2010-12-10 20:29:43 收件人: r-si

Re: [R-sig-eco] Dissimilarity ranking

2010-12-10 Thread Roman Luštrik
Package vegan is your friend. See vegdist function (among others). Cheers, Roman On Fri, Dec 10, 2010 at 1:28 PM, Yong Zhang <2010202...@njau.edu.cn> wrote: > > Hello all, > > If I have 15 sites with the species composition data, how should I get the > dissimilarity matrix of those sites? Whi

[R-sig-eco] Dissimilarity ranking

2010-12-10 Thread Yong Zhang
Hello all, If I have 15 sites with the species composition data, how should I get the dissimilarity matrix of those sites? Which function or package should I use? I am green, sorry for any inconvenience that I brought to you. Any of your hint or suggestion will be greatly appreciated. All t

Re: [R-sig-eco] Dissimilarity ranking

2010-12-09 Thread Dave Roberts
Well, it was not only a little sloppy, but a little late. Reading further I saw others had made the same suggestion a while ago. Nonetheless, that will remind me to paste my emails into R and check. Thanks François On 12/09/2010 03:34 PM, francois Guilhaumon wrote: Dear all, I would like to

Re: [R-sig-eco] Dissimilarity ranking

2010-12-09 Thread francois Guilhaumon
Dear all, I would like to point out three small mistakes in Dave's code, which of course are certainly typos. If one wants to not get only NAs in the result vector, one should specify na.rm=TRUE in the apply statement, furthermore I guess that the mean function has to be applied to 'demodis2' and

Re: [R-sig-eco] Dissimilarity ranking

2010-12-09 Thread Dave Roberts
Burak, I think your question is simpler than the suggestions of NMDS. One approach, let's say you dissimilarity matrix is called demodis > demodis2 <- as.matrix(demodis) # make a full matrix copy > is.na(diag(demodis2)) <- TRUE# ignore the dissimilarity of a

Re: [R-sig-eco] Dissimilarity ranking

2010-11-23 Thread Gavin Simpson
"'r-sig-ecology@r-project.org'" > r-sig-ecology-bou > n...@r-project.or cc > g >

Re: [R-sig-eco] Dissimilarity ranking

2010-11-23 Thread Andy Rominger
r-sig-ecology-bou > n...@r-project.or cc > g > Subject > [R-sig-eco] Dissimilarity ranking > 11/23/2010 03:09 > P

Re: [R-sig-eco] Dissimilarity ranking

2010-11-23 Thread Steve_Friedman
Subject [R-sig-eco] Dissimilarity ranking 11/23/2010 03:09

Re: [R-sig-eco] Dissimilarity ranking

2010-11-23 Thread Roman Luštrik
Maybe what you're looking for is ?vegan::metaMDS Cheers, Roman On Tue, Nov 23, 2010 at 9:09 PM, Pekin, Burak K wrote: > Hello, I want to rank the dissimilarity of sites based on their species > composition. For example, I would like to be able to say that site A is less > similar in compositi

[R-sig-eco] Dissimilarity ranking

2010-11-23 Thread Pekin, Burak K
Hello, I want to rank the dissimilarity of sites based on their species composition. For example, I would like to be able to say that site A is less similar in composition to the other sites than site B is similar to the other sites. I could do a cluster analysis and look at which sites are less