partAbund: Partial abundance community matrix

Description Usage Arguments Value Author(s) Examples

View source: R/partAbund.R

Description

Calculates all partial abundance community matrices following the approach proposed by Blanchet et al. (in press)

Usage

1
partAbund(comm,countThresh=NULL)

Arguments

comm

A community matrix. If a data.frame is given instead of a matrix the function converts comm into a matrix and sends a warning message.

countThresh

Counting threshold. The maximum number of individuals to count by site by species. If the counting threshold is not given, community matrices with all different counting thresholds are calculated. If the value given is not an integer, this value is rounded to the lowest integer

Value

An object of class partAbund. It is essentially an array where each third dimension is community matrix with a particular counting threshold. The community matrices in this array are ordered sequentially from lowest (1) to the highest counting threshold considered.

Author(s)

F. Guillaume Blanchet

Examples

1
2
3
4
data(mite)

pAbundMite<-partAbund(mite,countThresh=35)
str(pAbundMite)

guiblanchet/countComm documentation built on June 3, 2020, 12:37 a.m.