fn default_ageing(
max_age_piglet_years: Option<f32>,
max_age_yearling_years: Option<f32>,
initial_age_distribution: Option<Vec<f32>>
) -> SystemWrapper
Expand description
default_ageing( max_age_piglet_years=0.5, max_age_yearling_years=2.0, initial_age_distribution=[0.38, 0.24, 0.15, 0.09, 0.06, 0.03, 0.02, 0.01, 0.01, 0.01] )
Default ageing and initial age distribution
The ageing process iterates over all individuals. For each individual :math:k
, age :math:T_k
is incremented by one week.
Initial age distributions are usually taken from the results of a 100-year model run [Kramer-Schadt_2009]_.
Parameters:
max_age_piglet_years - maximum age of piglets in years, before they become yearlings
max_age_yearling_years - maximum age of yearlings in years, before they become adults
initial_age_distribution - initial age distribution, with probability per year of age