makeEnvObj: Builds environmental transition objects.

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

Description

Function that takes vectors of discrete environmental states (e.g. shaded vs open canopy habitats) at time t and time t+1 and builds a transition (habitat) matrix from these.

Usage

1
makeEnvObj(dataf)

Arguments

dataf

a dataframe with columns ‘covariate’ and ‘covariatel’ indicating environmental covariate values at times t, and at t+1, respectively; these must take values of sequential integers, starting at‘1’.

Value

an object of class envMatrix.

Author(s)

C. Jessica E. Metcalf, Sean M. McMahon, Roberto Salguero-Gomez, Eelke Jongejans & Cory Merow.

References

Horvitz & Schemske. 1995. Spatiotemporal variation in demographic transitions of a tropical understory herb. Projection matrix analysis. Ecological Monographs 65, p155-192.

Horvitz, Ehrlen & Matlaga. 2010. Context-dependent pollinator limitation in stochastic environments: can increased seed set overpower cost of reproduction in an understorey herb? Journal of Ecology 98, p268-278.

See Also

makeFecObj, makeSurvObj, makeIPMPmatrix, makeIPMFmatrix

Examples

1
2
3
dff <- generateData()
env <- makeEnvObj(dff)
env

IPMpack documentation built on May 2, 2019, 4:59 p.m.