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-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'