beta_diss: Taxonomic (non-phylogenetic) beta diversity

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/phylo_beta.R

Description

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

Usage

1
2
3
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

1
2
3
4
data(africa)
x <- africa$comm
bc <- beta_core(x)
beta_sorensen <- beta_diss(x)

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