bioregion_metrics {bioregion} | R Documentation |
Calculate contribution metrics for bioregions
Description
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.
Usage
bioregion_metrics(bioregionalization, comat, map = NULL, col_bioregion = NULL)
Arguments
bioregionalization |
A |
comat |
A co-occurrence |
map |
A spatial |
col_bioregion |
An |
Details
Endemic species are species found only in the sites belonging to one bioregion.
Value
A data.frame
with 5 columns, or 6 if spatial coherence is computed.
Author(s)
Pierre Denelle (pierre.denelle@gmail.com)
Boris Leroy (leroy.boris@gmail.com)
Maxime Lenormand (maxime.lenormand@inrae.fr)
See Also
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
Examples
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)