View source: R/bioregion_metrics.R
bioregion_metrics | R Documentation |
This function calculates the number of sites per bioregion, as well as the number of species these sites have, the number of endemic species, and the proportion of endemism.
bioregion_metrics(bioregionalization, comat, map = NULL, col_bioregion = NULL)
bioregionalization |
A |
comat |
A co-occurrence |
map |
A spatial |
col_bioregion |
An |
Endemic species are species found only in the sites belonging to one bioregion.
A data.frame
with 5 columns, or 6 if spatial coherence is computed.
Pierre Denelle (pierre.denelle@gmail.com)
Boris Leroy (leroy.boris@gmail.com)
Maxime Lenormand (maxime.lenormand@inrae.fr)
For more details illustrated with a practical example, see the vignette: https://biorgeo.github.io/bioregion/articles/a5_3_summary_metrics.html.
Associated functions: site_species_metrics bioregionalization_metrics
comat <- matrix(sample(1000, 50), 5, 10)
rownames(comat) <- paste0("Site", 1:5)
colnames(comat) <- paste0("Species", 1:10)
net <- similarity(comat, metric = "Simpson")
clust <- netclu_louvain(net)
bioregion_metrics(bioregionalization = clust,
comat = comat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.