Produce rarity-weighted richness values for each site.
a presence/absence matrix with sites across the rows and species down the columns. Should include site names for the rows.
number of sites to select to maximize the rarity-weighted richness score.
This function selects sites based on rarity-weighted richness.
Returns a list including a vector of the selected sites, an integer number of species included, and a vector of rarity-weighted richness scores for the selected sites.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.