Description Usage Arguments Value Examples
Creates (or saves as png if asked) bar plots for all density features. Organize the bar plots based on target feature categories and desired barplot types of: dodge, stack, fill.
1 2 3 4 5 6 7 8 |
dataset |
Name of the data frame object |
classVar |
Name of the target feature |
order |
A vector listing the target feature labels in the desired order. To use default order leave this parameter. Default value NULL. |
colors |
A vector listing which color to use to represent which target feature label. To have the function pick color leave this parameter. Default value NULL. |
barType |
A string value indicating bar plot type i.e. stack, dodge, fill. |
loc |
A string with the directory where you want to save the plots. If no location is provided the plots will be created and displayed but not stored as image files. |
Returns three outputs:
If loc = NULL, returns plots and displays in the RStudio Plots window,
If loc has location provided, creates and saves the plots. Doesn't display in RStudio.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.