weighted_endemism: Measure the distribution of narrow-ranged or endemic species.

Description Usage Arguments Value References Examples

View source: R/WeightedEndemism.R

Description

weighted_endemism is species richness inversely weighted by species ranges.

Usage

1

Arguments

x

A (sparse) community matrix.

Value

A data frame of species traits by site.

References

Crisp, M.D., Laffan, S., Linder, H.P. & Monro, A. (2001) Endemism in the Australian flora. Journal of Biogeography 28: 183–198.

Daru, B.H., Farooq, H., Antonelli, A. & Faurby, S. (2020) Endemism patterns are scale dependent. Nature Communications 11 : 2115.

Examples

1
2
3
4
5
6
7
8
library(raster)
data(africa)
Endm <- weighted_endemism(africa$comm)
m <- merge(africa$polys, data.frame(grids=names(Endm), WE=Endm), by="grids")
m <- m[!is.na(m@data$WE),]

plot_swatch(m, values = m$WE,
            col = hcl.colors(20, palette = "Blue-Red 3", rev=FALSE))

phyloregion documentation built on May 1, 2021, 9:06 a.m.