calculate_cow_liveweight: Calculate cow live weight

View source: R/progeny_data_flp.R

calculate_cow_liveweightR Documentation

Calculate cow live weight

Description

The program package ECOWEIGHT (C Programs for Calculating Economic Weights in Livestock) need input parameter files. This function will calculate cow live weight

Usage

calculate_cow_liveweight(
  ps_input_flp_tibble,
  ps_first_calvingweight,
  ps_second_calvingweight,
  ps_dambreed,
  pb_log = FALSE,
  plogger = NULL
)

Arguments

ps_input_flp_tibble

input flp tibble coming from read_file_input_flp in this package

ps_first_calvingweight

flag to calculate first calving weight (TRUE or FALSE)

ps_second_calvingweight

flag to calculate second calving weight (TRUE or FALSE)

ps_dambreed

dam breed

pb_log

indicator whether logs should be produced

plogger

logger object

Value

cow_liveweight vector


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