Visualizes differences between scenarios. Color encodes the decomposition component, linetype encodes the scenario.
Usage
# S3 method for class 'ineqx_compare'
plot(x, type = NULL, style = "line", stats = NULL, ...)Arguments
- x
An
ineqx_compareobject fromcompare.- type
Character: plot type. Defaults depend on class:
ineqx_causal_longit:"decomp","wibe"ineqx_causal_cross:"wibe"ineqx_desc:"wibe","decomp"
- style
Character:
"line"or"point"(longitudinal only).- stats
Character vector of decomposition components to display (for
type = "decomp"with longitudinal data). Seeplot.ineqx_causal_longitfor valid values. Default:c("behavioral", "compositional", "pretreatment", "total").- ...
Additional arguments (currently unused).