cv2f {tsvr}R Documentation

Compute a frequency-specific version of CVcom or CVcomip

Description

Compute a frequency-specific version of CVcom or CVcomip.

Usage

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

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


[Package tsvr version 1.0.2 Index]