cv2 {tsvr}R Documentation

Calculates various measures of population and community variability

Description

Calculates various measures of population and community variability

Usage

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

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


[Package tsvr version 1.0.2 Index]