get_tm_s
Obtains scaled mean age at death fro short growth periods
Contents
Syntax
[tm, Sb, Sp, info] = get_tm_s(p, f, lb, lp)
Description
Obtains scaled mean age at death assuming a short growth period relative to the life span Divide the result by the somatic maintenance rate coefficient to arrive at the mean age at death. The variant get_tm_foetus does the same in case of foetal development. If the input parameter vector has only 4 elements (for [g, lT, ha/ kM2, sG]), it skips the calulation of the survival probability at birth and puberty.
Input
- p: 4 or 7-vector with parameters: [g lT ha sG] or [g k lT vHb vHp ha SG]
- f: optional scalar with scaled reserve density at birth (default eb = 1)
- lb: optional scalar with scaled length at birth (default: lb is obtained from get_lb)
- lp: optional scalar with scaled length at puberty
Output
- tm: scalar with scaled mean life span
- Sb: scalar with survival probability at birth (if length p = 7)
- Sp: 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. See get_tm for the general case of long growth period relative to life span
Example of use
get_tm_s([.5, .1, .1, .01, .2, .1, .01])