plot_piechart_ewdc: Plot pie chart of the results coming from ECOWEIGHT dairy...

View source: R/post_processing.R

plot_piechart_ewdcR Documentation

Plot pie chart of the results coming from ECOWEIGHT dairy beef cattle

Description

The program package ECOWEIGHT (C Programs for Calculating Economic Weights in Livestock) produce output file. This function processed different functions to prepare information to be plot.

Usage

plot_piechart_ewdc(
  ps_path_2genSD,
  ptbl_EW_results,
  ps_traitgroup2consider,
  ps_scenario,
  ps_marketchannel,
  pb_log,
  plogger = NULL
)

Arguments

ps_path_2genSD

path to file with genetic standard deviation

ptbl_EW_results

tibble of economic weights

ps_traitgroup2consider

traitgroup may be Carcass or Functional Traits

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

pb_log

indicator whether logs should be produced

plogger

logger object


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