Description Usage Arguments Value Examples
View source: R/mipplot_additivity_check.R
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 area plots showing the divergence between the left-side variable and the sum of the right-side variables.
1 | mipplot_additivity_check(D, R, max_n_plots = Inf, plot_all = FALSE)
|
D |
A dataframe of IAMC data in tibble format to produce area plots. |
R |
A dataframe of data aggregation rules (meta data). |
max_n_plots |
The maximum number of output plots. |
plot_all |
set FALSE to plot only inconsistent combinations |
A list of area plots.
1 2 3 4 | if (interactive()) {
mipplot_additivity_check(
ar5_db_sample_data, ar5_db_sample_rule_table, max_n_plots = 10)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.