calculate_stillbirth_rate | R Documentation |
The program package ECOWEIGHT (C Programs for Calculating Economic Weights in Livestock) need input parameter files. This function will calculate based on calving scores as well as lactation number of the dam (primiparous vs multiparous) the stillbirth rate.
calculate_stillbirth_rate( ps_input_calving_tibble, ps_statement_firstlactation = TRUE, ps_statement_easycalving = TRUE, pb_log = FALSE, plogger = NULL )
ps_input_calving_tibble |
input calving tibble coming from read_file_input_calving in this package |
ps_statement_firstlactation |
statement if in first lactation status (TRUE or FALSE) |
ps_statement_easycalving |
statement if for easy calving status (TRUE or FALSE) |
pb_log |
indicator whether logs should be produced |
plogger |
logger object |
stillbirth_rate vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.