prepare_progeny_flp: Prepare progeny data flp depending on sex, marketing channel...

View source: R/progeny_data_flp.R

prepare_progeny_flpR Documentation

Prepare progeny data flp depending on sex, marketing channel and production system

Description

The program package ECOWEIGHT (C Programs for Calculating Economic Weights in Livestock) need input parameter files. This function will prepare progeny data flp depending on sex, marketing channel and production system.

Usage

prepare_progeny_flp(
  ps_input_flp_tibble,
  ps_sex,
  ps_marketing_channel,
  ps_prodsystew,
  pb_log = FALSE,
  plogger = NULL
)

Arguments

ps_input_flp_tibble

input flp tibble coming from read_file_input_flp in this package

ps_sex

statement of sex ("F" for female and "M" for male)

ps_marketing_channel

statement of marketing-channel for Natura-Beef (==2), SwissPrimBeef(==3), ConventionalBeef and ConventionalVeal (=="")

ps_prodsystew

production system build up as option in ECOWEIGHT

pb_log

indicator whether logs should be produced

plogger

logger object

Value

tibble prepared progeny data flp


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