cv2f: Compute a frequency-specific version of CVcom or CVcomip

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

View source: R/cv2f.R

Description

Compute a frequency-specific version of CVcom or CVcomip.

Usage

1
cv2f(X, type)

Arguments

X

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

type

If com, calculate a frequency-specific CVcom2. If comip, calculate a frequency-specific CVcomip2. See the vignette for definitions of these quantities.

Value

cv2f returns an object of type list consisting of

frequency

a vector from 0 to 1 (not including 0 and 1)

cv2

A vector of frequency-specific population or community variability

Author(s)

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

References

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

See Also

tsvreq_classic, cv2, browseVignettes("tsvr")

Examples

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

tsvr documentation built on Jan. 13, 2021, 7:37 a.m.