Calculate total nondemographic durations by herd
Source:R/core_model_nondemographic_herd.R
calc_nondemographic_total_durations.RdAggregates total modeled nondemographic productive-phase durations by herd and
sex from FN and MN cohort rows.
Arguments
- cohort_short
Character. Sex-specific cohort code describing the age and/or the production stage of the animals. Supported values include:
FN: non-demographic femalesMN: non-demographic males
- cohort_duration_days
Numeric. Amount of time that each animal spends in a specific cohort (days). For
CHK, suggested value forFJandMJcohorts: 3 days.
Value
A named list with elements:
- total_nondemo_fem_duration_days
Numeric. Total duration of the productive non-demographic phases assigned to the female non-demographic cohort block (
FN) (days).- total_nondemo_mal_duration_days
Numeric. Total duration of the productive non-demographic phases assigned to the male non-demographic cohort block (
MN) (days).