beta_diss: Taxonomic (non-phylogenetic) beta diversity

View source: R/phylo_beta.R

beta_coreR Documentation

Taxonomic (non-phylogenetic) beta diversity

Description

Data are assumed to be presence / absence (0 / 1) and all values greater zero are assumed to reflect presence.

Usage

beta_core(x)

beta_diss(x, index.family = "sorensen")

Arguments

x

an object of class Matrix, where rows are sites and columns are species.

index.family

family of dissimilarity indices, partial match of "sorensen" or "jaccard".

Details

beta_core is helper function to compute the basic quantities needed for computing the "sorensen" or "jaccard" index.

Value

beta_core returns an object of class beta_diss like the betapart.core function. This object can be called by beta.pair or beta.multi.

beta_diss returns a list with three dissimilarity matrices. See beta.pair for details.

Author(s)

Klaus Schliep

See Also

betapart.core, betapart, phylobeta

Examples

data(africa)
x <- africa$comm
bc <- beta_core(x)
beta_sorensen <- beta_diss(x)

darunabas/phyloregion documentation built on Feb. 3, 2024, 8:59 p.m.