Learn R Programming

tsvr (version 1.0.2)

vreq: Creator function for the vreq S3 class

Description

The vreq (variance ratio equation) class is for storing equations based on a variance ratio, as in Wang S. & Loreau M. (2016) Biodiversity and ecosystem stability across scales in metacommunities, Ecol Lett, 19, 510-518. This is a general class from which other classes inherit (vreq_classic, vreq_LdM). vreq inherits from the list class.

Usage

vreq(com, comnull, vr)

Arguments

com

A single positive number

comnull

Another single positive number

vr

Another single positive number

Value

vreq returns an object of class vreq. Slots are:

com

a single positive number equal to comnull*vr

comnull

a single positive number

vr

a single positive number

References

Wang S. & Loreau M. (2016) Biodiversity and ecosystem stability across scales in metacommunities. Ecol Lett, 19, 510-518.

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

Peterson, Stability of species and of community for the benthos of two lagoons. 1975, Ecology, 56, 958-965.

See Also

vreq_methods, vreq_classic, vreq_LdM, vreq_classic_ag_methods, browseVignettes("tsvr")

Examples

Run this code
# NOT RUN {
res<-vreq(com=2,comnull=1,vr=2)
  
# }

Run the code above in your browser using DataLab