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

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".

## 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.

## Details

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

betapart.core, betapart, phylobeta

Klaus Schliep

## Examples

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