Skip to content

specifying a "chord" distance matrix in metaMDS

5 messages · Michael Rennie, Jari Oksanen

#
On 22/09/10 21:42 PM, "Mike Rennie" <mikerennie.r at gmail.com> wrote:

            
Mike,

obj.nmds <- metaMDS(decostand(orig.data, "norm"), "euclid", k=4,
zerodist="add", autotrans=FALSE)
If it doesn't converge, continue with

obj.nmds <- update(obj.nmds, previous = obj.nmds)

cheers, Jari Oksanen
#
On 22/09/10 22:01 PM, "Mike Rennie" <mikerennie.r at gmail.com> wrote:

            
Mike,

The error message comes probably from wascores() that finds the species
scores after ordination. To be sure, you can say traceback() after getting
the error message to see how the error is propagated.

I'm sure that the computer is correct if she claims that some of your
species abundances are non-negative or that all are zero. If you think
otherwise, you're wrong. Don't argue with computers. If this is wascores()
like I assume, the error is caused by the transformed abundance data, and
not by the dissimilarities. Create transformed data with

tmp <- decostand(orig.data, "norm")

and see if there are any negative values (min(tmp), any(tmp < 0)), or all
zero columns (any(colSums(tmp) <= 0)).

Cheers, Jari Oksanen