surv: Survival

survR Documentation

Survival

Description

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

Usage

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

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

wpetry/IPMpack2 documentation built on Sept. 29, 2022, 9:41 a.m.