get_tm
Gets scaled mean age at death
Contents
Syntax
[tau_m, S_b, S_p, info] = get_tm(p, f)
Description
Obtains scaled mean age at death by integration of cumulative survival prob over length for the std model. Divide the result by the somatic maintenance rate coefficient to arrive at the mean age at death.
Input
- p: 7-vector with parameters: g k lT vHb vHp ha SG
- f: optional scalar with scaled reserve density at birth (default F = 1)
Output
- tau_m: scalar with scaled mean life span
- S_b: scalar with survival probability at birth
- S_p: scalar with survival prabability at puberty (if length p = 7)
- info: indicator equals 1 if successful, 0 otherwise
Remarks
Theory is given in comments on DEB3 Section 6.1.1 The variant get_tm_foetus does the same in case of foetal development. See get_tm_s for a short growth period relative to the life span
Example of use
get_tm([.5, .1, .1, .01, .2, .1, .01])