save_csv_table_piechart: Save table and piechart in pdf

View source: R/post_processing.R

save_csv_table_piechartR Documentation

Save table and piechart in pdf

Description

The program package ECOWEIGHT (C Programs for Calculating Economic Weights in Livestock) produce output file. This function process the results in a pdf.

Usage

save_csv_table_piechart(
  ps_tbl_aggregate_results,
  ptbl_EW_results,
  ps_path_tbl_save,
  ps_scenario,
  ps_marketchannel,
  ps_prodsystem,
  ps_input_genetic_SD,
  pb_log,
  plogger = NULL
)

Arguments

ps_tbl_aggregate_results

tibble with economic weight and population mean

ptbl_EW_results

tibble of economic weights

ps_path_tbl_save

path to save results

ps_scenario

name of the scenario (includes sire breed, dam breed, production system and marketing channel)

ps_marketchannel

marketing channel required for determining the correct genetic standard deviation to use

ps_prodsystem

production system build up as option in ECOWEIGHT

ps_input_genetic_SD

input file with genetic standarddeviation

pb_log

indicator whether logs should be produced

plogger

logger object


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