calculate_calvesdiedafter24h_proportion: Calculate proportion of calves died after 24 hours

View source: R/calving.R

calculate_calvesdiedafter24h_proportionR Documentation

Calculate proportion of calves died after 24 hours

Description

The program package ECOWEIGHT (C Programs for Calculating Economic Weights in Livestock) need input parameter files. This function will calculate the proportion of calves died after 24h. It would be nice to have the information after 48h to weaning. But at this stage, we don't.

Usage

calculate_calvesdiedafter24h_proportion(
  ps_input_calving_tibble,
  pb_log = FALSE,
  plogger = NULL
)

Arguments

ps_input_calving_tibble

input calving tibble coming from read_file_input_calving in this package

pb_log

indicator whether logs should be produced

plogger

logger object

Value

calves died after 24 hours proportion vector


sknqualitasag/qp4ewc documentation built on Sept. 27, 2022, 3:31 p.m.