beta_core {phyloregion} | R 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)
[Package phyloregion version 1.0.8 Index]