Description Usage Arguments Value Examples
Histogram for exploratory data analysis of a categorical variable.
1 | plot_hist_categorical(df, var, flip_plot = TRUE, color_fill = "grey40")
|
df |
Dataframe to be converted to table. |
var |
Numeric for maximum number of digits to round numeric values. |
flip_plot |
Flip axis of categorical plot by default. |
color_fill |
Default color for bars. |
Histogram.
1 2 | plot_hist_categorical(df = iris, var = Species)
plot_hist_categorical(df = infert, var = education, flip_plot = FALSE, color_fill = "blue")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.