mipplot_additivity_check: check additivity of rules and data

Description Usage Arguments Value Examples

View source: R/mipplot_additivity_check.R

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 area plots showing the divergence between the left-side variable and the sum of the right-side variables.

Usage

1
mipplot_additivity_check(D, R, max_n_plots = Inf, plot_all = FALSE)

Arguments

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

Value

A list of area plots.

Examples

1
2
3
4

UTokyo-mip/mipplot documentation built on Aug. 7, 2021, 6:25 p.m.