Learn R Programming

tsvr (version 1.0.2)

tsvreq_classic: Creator function for the tsvreq_classic S3 class

Description

The tsvreq_classic (timescale-specific variance ratio equation, classic variance ratio) class is for storing functional equations based on a timescale specific version of the classic variance ratio. Inherits from tsvreq, which inherits from list.

Usage

tsvreq_classic(X)

Arguments

X

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

Value

tsvreq_classic returns a tsvreq_classic object. Slots are:

ts

a vector of timescales

com

a timescale-specific decomposition of CVcom2

comnull

a timescale-specific decomposition of CVcomip2

tsvr

a timescale-specific version of the classic variance ratio

wts

a vector of weights, same length as all the above

References

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

See Also

tsvreq_classic_methods, tsvreq, vreq_classic, browseVignettes("tsvr")

Examples

Run this code
# NOT RUN {
X<-matrix(runif(10*100),10,100)
res<-tsvreq_classic(X)

# }

Run the code above in your browser using DataLab