FRBCesab / funbiogeo

:package: R package to help with analyses in functional biogeography
https://frbcesab.github.io/funbiogeo/
GNU General Public License v2.0
10 stars 1 forks source link

A function to compute trait coverages (for species and sites) for all combinations #75

Closed Rekyt closed 1 year ago

Rekyt commented 2 years ago

A suggestion from Pierre Gaüzère: that would be great to have a function to compute trait coverage for all combinations of traits provided. For the moment our function computes coverage for either trait by trait or for all traits taken together. There could be a function to provide exhaustive coverage with all combinations of traits (for all traits alone, all pairs of traits, all trios, etc.).

Maybe this should issue a warning when the number of traits become important because the number of combinations is (2^n) - 1 (for example with 12 or 13 traits?)