pair {cooccur}R Documentation

Function to examine co-occurrence patterns for an individual species.

Description

Extracts results for a single species from a cooccur object.

Usage

pair(mod, spp, all = FALSE)

Arguments

mod

Object of class cooccur.

spp

Name of the species, or the number assigned to it.

all

Logical. If TRUE then all, not just significant, results are returned.

Value

Same as prob.table() but for only one species.

Author(s)

Daniel M Griffith

See Also

prob.table

Examples

#data(finches)
#cooccur.finches <- cooccur(mat=finches,
#			   type="spp_site",
#			   thresh=TRUE,
#			   spp_names=TRUE)
#pair(cooccur.finches,"Geospiza fortis",all=TRUE)

[Package cooccur version 1.3 Index]