effect.sizes: Function to extract species pairwise effect sizes from an...

Description Usage Arguments Value Author(s) Examples

Description

Calculate standardized and raw effect sizes from an object of class cooccur.

Usage

1
effect.sizes(mod, standardized = TRUE, matrix = FALSE)

Arguments

mod

Object of class cooccur.

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

1
2
3
4
5
6
#data(finches)
#cooccur.finches <- cooccur(mat=finches,
#			   type="spp_site",
#			   thresh=FALSE,
#			   spp_names=TRUE)
#effect.sizes(cooccur.finches,matrix=TRUE)

Example output



cooccur documentation built on May 2, 2019, 6:44 a.m.