endemism | R Documentation |
The function calculates either the proportion of endemic taxa at every locality or counts the number of endemic species
endemism(dat, tax = NULL, loc = NULL, prop = TRUE)
dat |
|
tax |
|
loc |
|
prop |
|
# create a partitioning
data(ceno6)
oneC6 <- bgpart(ceno6,bin=NULL, tax="trinomen", cell="icos", ocq=10, base="network", method="infomap")
# add membership to every row based on the cells
ceno6$membership <- oneC6[ceno6$icos,"grouping"]
# endemism in regions
endemism(ceno6, tax="trinomen", loc="membership")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.