effect.sizes {cooccur} | R Documentation |
Function to extract species pairwise effect sizes from an object of class cooccur
.
Description
Calculate standardized and raw effect sizes from an object of class cooccur
.
Usage
effect.sizes(mod, standardized = TRUE, matrix = FALSE)
Arguments
mod |
Object of class |
standardized |
Logical. Should the effect sizes be standardized? |
matrix |
Logical. Should the effect sizes be returned in a distance matrix? The alternative is a list of pairs. |
Value
Returns either a data.frame of species pairs and effects sizes or a distance matrix with the rows and columns ordered from the order of species in the original community data matrix.
Author(s)
Daniel M Griffith
Examples
#data(finches)
#cooccur.finches <- cooccur(mat=finches,
# type="spp_site",
# thresh=FALSE,
# spp_names=TRUE)
#effect.sizes(cooccur.finches,matrix=TRUE)
[Package cooccur version 1.3 Index]