mipplot_additivity_check_bar {mipplot} | R Documentation |
Additivity check using bar plot
Description
This function is used for debugging a rule table and data-set. An input is a rule table and a data-set, the outputs are some bar plots showing the divergence between the left-side variable and the sum of the right-side variables.
Usage
mipplot_additivity_check_bar(
D,
R,
target_scenarios,
target_rule_ids = 4,
show_all_scenarios = FALSE,
show_all_rule_ids = FALSE,
debug = FALSE
)
Arguments
D |
A dataframe of IAMC data in tibble format to produce area plots. |
R |
A dataframe of data aggregation rules (meta data). |
target_scenarios |
A character vector of scenario names |
target_rule_ids |
A list of rule id. |
show_all_scenarios |
Set TRUE to show all scenarios. |
show_all_rule_ids |
Set TRUE to show all rules. |
debug |
Set TRUE if show intermediate dataframe using View function. |
Value
A list of bar plots.
Examples
mipplot_additivity_check_bar(
ar5_db_sample_data, ar5_db_sample_rule_table,
target_scenarios = c("EMF27-450-Conv", "EMF27-Base-NucOff"))
[Package mipplot version 0.3.1 Index]