Skip to content

Zero-adjusted Bray-Curtis dissimilarity not in vegan? #724

Answered by jarioksa
MonaFuhrmann asked this question in Q&A
Discussion options

You must be logged in to vote

vegdist is a vegan function that implements some distance and dissimilarity functions. There are other packages that implement other dissimilarities. It seems that ecole is one such package that implements other dissimilarities. These functions from other packages are not methods of vegan::vegdist and they cannot be invoked with a distance argument to vegdist. However, you have two choices:

  1. Calculate first a dissimilarity matrix with ecole::bray0 and submit that to metaMDS instead of the raw data. If you want to add species scores, use vegan function sppscores after the analysis. However, you must check that ecole::bray0 returns dissimilarities and not similarities which would give gross…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@MonaFuhrmann
Comment options

@jarioksa
Comment options

@MonaFuhrmann
Comment options

Answer selected by MonaFuhrmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #723 on January 15, 2025 19:32.