calculate_carcass_price: calculate_carcass_price

View source: R/progeny_data_flp.R

calculate_carcass_priceR Documentation

calculate_carcass_price

Description

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

Usage

calculate_carcass_price(
  ps_tbl_input_statement_carcass,
  ps_sex,
  ps_liveweight,
  ps_marketchannel,
  pb_log = FALSE,
  plogger = NULL
)

Arguments

ps_sex

category e.g MT (bull), RG(heifer) or KV(veal calf)

ps_liveweight

value for liveweight

ps_marketchannel

marketing chanell to determine conventional beef or veal

pb_log

indicator whether logs should be produced

plogger

logger object

ps_tbl_input_statemement_carcass

tibble of input statements including base carcass prices

Value

rearing_age


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