
Prepare tag records for continuous-time growth transitions
Source:R/growth.R
prepare_growth_transition_data.RdRound tag liberty intervals to a regular time grid and represent each release length by linear weights on adjacent model length states. The same continuous-time generator can then be propagated by repeated multiplication for the tag likelihood and exponentiated for the population transition.
Arguments
- data
A decamod data list containing
midpoint_l,gi_L1, andgi_liberty.- time_step
Width of the tag time grid in years; one month by default.
- latent_midpoint
Optional internal latent length grid. It must be strictly increasing and span every assessment midpoint and tag release length. Population transitions are aggregated back to
data$midpoint_l.