create_directory_scenario: Create directory per scenario with input-parameter-file for...

View source: R/prepare_scenario.R

create_directory_scenarioR Documentation

Create directory per scenario with input-parameter-file for ECOWEIGHT

Description

The program package ECOWEIGHT (C Programs for Calculating Economic Weights in Livestock) need input parameter files. This function will create a directory with a specific name to recognize each scenario and file this directory with required input-parameter-file to run ECOWEIGHT.

Usage

create_directory_scenario(
  ps_sirebreed,
  ps_dambreed,
  ps_prodsystew,
  ps_marketchannel,
  ps_path_directory2create,
  pb_log = FALSE,
  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

pb_log

indicator whether logs should be produced

plogger

logger object


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