Skip to content
Prev 273252 / 398506 Next

distance coefficient for amatrix with ngative valus

You still haven't explained what's wrong with *almost every metric
there is*, but if you want other distance metrics have you considered
those in the package you are using, via the function dsvdis().
Consider, for example:

library(labdsv)

X <- get(data(bryceveg));

X[, sample(NROW(X))] <- (-1)*X[, sample(NROW(X))] # Put some negative
values in all willy nilly like....
Y <- pco( dsvdis(X, index="bray/curtis") )
print(any(X < 0))

If you want more explanation, please provide actual details of what
you are asking, as requested in my first email.

Michael Weylandt

On Mon, Oct 3, 2011 at 9:23 PM, dilshan benaragama
<benaragamad at yahoo.com> wrote:
Message-ID: <CAAmySGNY+kjdYCkJG+o=mOrw1ViUcRB1CTYuJveydcsUVx7JEw@mail.gmail.com>
In-Reply-To: <1317691425.56813.YahooMailNeo@web65904.mail.ac4.yahoo.com>