Skip to contents

Community data

Build and convert site-by-species matrices from points, polygons and rasters.

fishnet()
Create fishnet of regular grids
rast2comm() polys2comm() points2comm()
Convert raw input distribution data to community
read.community()
Read in sparse community matrices
long2sparse() sparse2long() dense2sparse() sparse2dense() long2dense() dense2long()
Conversion of community data
match_phylo_comm()
Match taxa and in phylogeny and community matrix
selectbylocation()
Select polygon features from another layer and adds polygon attributes to layer
random_species()
Generate random species distributions in space
plot(<sparse>)
Create illustrative sparse matrix

Phylogenetic diversity and endemism

Fast alpha-diversity measures on large trees.

PD() RPD()
Phylogenetic diversity
PD_ses()
Phylogenetic diversity standardized for species richness
phylo_endemism()
Phylogenetic Endemism
weighted_endemism()
Measure the distribution of narrow-ranged or endemic species.
evol_distinct()
Species' evolutionary distinctiveness
EDGE()
Evolutionary Distinctiveness and Global Endangerment

Beta diversity and regionalization

Compositional turnover and biogeographic regions.

beta_core() beta_diss()
Taxonomic (non-phylogenetic) beta diversity
phylobeta_core() phylobeta()
Phylogenetic beta diversity
phylobeta_ses()
Phylogenetic beta diversity standardized for species beta diversity
unifrac()
UniFrac distance
mean_dist()
Mean distance matrix from a set of distance matrices
phyloregion() infomap()
Compute phylogenetic regionalization and evolutionary distinctiveness of phyloregions
optimal_phyloregion()
Determine optimal number of clusters
select_linkage()
Cluster algorithm selection and validation
fitgom()
Fits Grade of membership models for biogeographic regionalization
indicators()
Top driving species in phyloregions
counts()
Phyloregions for functional traits and phylogeny

Functional diversity

Functional beta diversity for mixed continuous and categorical traits.

functional_beta()
Functional beta diversity for mixed-type functional traits

Species distribution modelling

From occurrence records to range maps.

backg() randpoints()
Sample background points
sdm()
Fast species distribution model

Phylogenies

timeslice()
Slice phylogenetic tree at various time depths
get_clades()
Get descendant nodes of phylogeny at a given time depth
collapse_range()
Collapse nodes and ranges based on divergence times
phylobuilder()
Create a subtree with largest overlap from a species list.
tree_sampler()
Subset trees from posterior distribution of trees.

Mapping and visualization

coldspots() hotspots() rast_hotspot()
Computes biodiversity coldspots and hotspots
rast_quantile()
Standardizes raster values for mapping
choropleth()
Bin values
plot(<phyloregion>) plot_NMDS() text_NMDS()
Visualize biogeographic patterns
map_trait()
Map species' trait values in geographic space
nodepie()
Label phylogenetic nodes using pie
arc_labels()
Add arc labels to plotted phylogeny
hexcols()
Generate diverging colors in HCL colour space.

Data and utilities

plot_pie()
Visualize biogeographic patterns using pie charts
africa
Plants of southern Africa
dirpath()
Get current directory
phyloregion-package
Biogeographic regionalization and macroecology
reexports Matrix sparseMatrix
Objects exported from other packages