Skip to content

Implementing a user defined dissimilarity metric #12

@FriedaBella

Description

@FriedaBella

Hi Gavin, I had a question about how to implement a user defined dissimilarity metric. I would say I am an ecologist and a mid-level R user, more familiar with the protocols of stack.overflow than GitHub. I actually signed-up just to ask this questions... Anyway, to get to the point, I would like to use the decomposition of beta diversity that Andres Baselga defined for the Sorensen and Bray-Curtis metrics (I want to analyse both abundance and binary differences between sites). I want to make pair-wise comparisons across two groups of sites, separated in geography and character rather than time--not that it changes anything materially in the way an analysis would be done. Baselga created the package 'betapart', which is cool and all, except that it only produces full matrices with all sites compared to all sites. In my case I just have a lot of sites to compare (it varies by species with a maximum of ~8000 total sites) and I am comparing changes in 494 species across these communities...so it is just not so feasible to use betapart for this, even if I were to split up the resultant matrix, it would just be really big. In the write up for analogue, you mention that a user could write/use their own method for the distance function. Again, maybe GitHub is not the right venue to ask this, but how would I do this? Or (even better for me-lol), would you be interested in adding these to the package? They are the new rage in diversity studies.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions