Skip to content

distance coefficient for amatrix with ngative valus

1 message · R. Michael Weylandt

#
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: