Last chance! 50% off unlimited learning
Sale ends in
varLifeExpect(IPMmatrix)
Cochran & Ellner. 1995. Simple methods for calculating age-based life history parameters for stage-structured populations. Ecological Monographs 62, p345-364.
Tuljapurkar & Horvitz, 2006. From stage to age in variable environments. Life expectancy and survivorship. Ecology 87, p1497-1509.
meanLifeExpect
, makeIPMPmatrix
# With a single continuous (e.g. size) stage
dff <- generateData()
Pmatrix <- makeIPMPmatrix(minSize = min(dff$size, na.rm = TRUE),
maxSize = max(dff$size, na.rm = TRUE), growObj = makeGrowthObj(dff),
survObj = makeSurvObj(dff))
vle <- varLifeExpect(Pmatrix)
plot(Pmatrix@meshpoints, vle, ylab = "Variation life expectancy",
xlab = "Continuous (e.g. size) stage", type = "l", ylim = c(0,max(vle)))
Run the code above in your browser using DataLab