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.
Arguments
- bioregionalization
A
bioregion.clusters
object.- comat
A co-occurrence
matrix
with sites as rows and species as columns.- map
A spatial
sf data.frame
with sites and bioregions. It is the output of the functionmap_bioregions
.NULL
by default.- col_bioregion
An
integer
specifying the column position of the bioregion.
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
Author
Pierre Denelle (pierre.denelle@gmail.com)
Boris Leroy (leroy.boris@gmail.com)
Maxime Lenormand (maxime.lenormand@inrae.fr)
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)
#> Bioregion Site_number Species_number Endemics Percentage_Endemic
#> 1 1 5 10 10 100