pre_process_ewbc_input_carcass_data_flp: Pre-processing the carcass conformation, fat, prices based on...

View source: R/pre_processing.R

pre_process_ewbc_input_carcass_data_flpR Documentation

Pre-processing the carcass conformation, fat, prices based on flp-data for beef-on-beef input-parameter-file of ECOWEIGHT

Description

The program package ECOWEIGHT (C Programs for Calculating Economic Weights in Livestock) need input parameter files. This function processed different functions to prepare the input parameter files based on progeny flp data and literature about the price-system.

Usage

pre_process_ewbc_input_carcass_data_flp(
  ps_sirebreed,
  ps_dambreed,
  ps_prodsystew,
  ps_marketchannel,
  ps_path_directory2create,
  ps_input_file_flp_carcass_matrix_statement,
  ps_input_file_flp,
  ps_start_flp_date,
  ps_input_file_ped,
  ps_end_flp_date,
  ps_input_file_price_cow,
  ps_input_file_price_bull,
  ps_input_file_price_heifer,
  pb_log,
  plogger = NULL
)

Arguments

ps_sirebreed

sire breed

ps_dambreed

dam breed

ps_prodsystew

production system build up as option in ECOWEIGHT

ps_marketchannel

market channel

ps_path_directory2create

path of the directory that will be created

ps_input_file_flp_carcass_matrix_statement

path to file with statement based on calving for the input-parameter-file for ECOWEIGHT

ps_input_file_flp

path to file with input coming from calving for the input-parameter-file for ECOWEIGHT

ps_start_flp_date

setting the start of the slaughter date to filter in the slaughter data

ps_end_flp_date

setting the end of the slaughter date to filter in the slaughter data

ps_input_file_price_cow

path to file with price for cows

ps_input_file_price_bull

path to file with price for bulls

ps_input_file_price_heifer

path tho file with price for heifers

pb_log

indicator whether logs should be produced

plogger

logger object


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