Learn R Programming

cooccur (version 1.3)

pair.attributes: Function to create a species-wise summary of co-occurrence patterns.

Description

Summarizes the positive, negative, and random interactions for each species in an cooccur analysis.

Usage

pair.attributes(mod)

Arguments

mod
Object of class cooccur.

Value

Returns a data.frame with the percentage of "pos", "neg", "rand" associations that each species ("spp") participates in. Columns with the prefix "num_" are counts.

Examples

Run this code
#data(finches)
#cooccur.finches <- cooccur(mat=finches,
#			   type="spp_site",
#			   thresh=TRUE,
#			   spp_names=TRUE)
#pair.attributes(cooccur.finches)

Run the code above in your browser using DataLab