decomp_chart | R Documentation |
Variable Decomposition Bar Chart
decomp_chart( model = NULL, decomp_list = NULL, pool = NULL, colors = color_palette(), variable_decomp = FALSE, verbose = FALSE )
model |
Model object |
decomp_list |
list object generated by the |
pool |
string specifying a group within the pool column to be filtered |
colors |
character vector of colors in hexadecimal notation |
variable_decomp |
boolean specifying whether the chart should be based on the variable_decomp or the category_decomp from the |
verbose |
A boolean to specify whether to print warnings |
Plot the variable, or category, decomposition as stacked bars over the id variable which can be supplied to the decomping
function.
a plotly
bar chart of the model's decomposition
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.