Survival

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.