get_tm_foetus
Gets scaled mean age at death for foetal development
Contents
Syntax
[t_m S_b S_p info] = get_tm_foetus(p, F, l_b, l_p)
Description
Obtains scaled mean age at death by integration of cumulative survival prob over length in the case of foetal development. The variant get_tm does the same in case of egg development. 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)
- lb: optional scalar with scaled length at birth (default: lb is obtained from get_lb_foetus)
- lp: optional scalar with scaled length at puberty (default: lp is obtained from get_lp_foetus)
Output
- t_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 does the same in case of egg development.
Example of use
get_tm_foetus([.1, .1, .1, .001, .2, .1, .01])