surv: Survival

Description Usage Arguments Value Author(s) See Also Examples

Description

Predicts the probability of surviving at a given size given a survival object.

Usage

1
surv(size, cov, survObj)

Arguments

size

a numeric vector of current sizes.

cov

a data-frame with one row containing all covariates.

survObj

a survObj.

Value

a vector of length size with values between 0 and 1.

Author(s)

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

See Also

growth, growSurv, surv-methods

Examples

1
2
3
dff <- generateData()
sv1 <- makeSurvObj(dff)
surv(1:50, data.frame(cov=1), sv1)

IPMpack documentation built on May 29, 2017, 3:45 p.m.

Search within the IPMpack package
Search all R packages, documentation and source code