cv2: Calculates various measures of population and community...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/cv2.R

Description

Calculates various measures of population and community variability

Usage

1
cv2(X, type)

Arguments

X

A matrix with counts or densities arranged in species by time step

type

If pop, calculate CVpop2. If com, calculate CVcom2. If comip, calculate CVcomip2. See the vignette for definitions of these quantities.

Value

cv2 returns the value of population or community variability.

Author(s)

Lei Zhao, lei.zhao@cau.edu.cn; Daniel Reuman, reuman@ku.edu; Shaopeng Wang, shaopeng.wang@pku.edu.cn

References

Zhao et al, (In prep) Decomposition of the variance ratio illuminates timescale-specific population and community variability.

See Also

vreq_classic, vreq_LdM, cv2f, browseVignettes("tsvr")

Examples

1
2
X<-matrix(runif(200,1,100), 10, 20)
ans<-cv2(X, type="com")

reumandc/tsvr documentation built on Jan. 17, 2021, 10:32 p.m.