View source: R/ggplot_bar_simple.R
Quickly visualize one discrete variable's level frequencies.
1 | ggplot_bar_simple(df, varname_x, order_x = TRUE, filename_print = NULL)
|
df |
A data frame with plotting data. |
varname_x |
Discrete variable name (character string). |
order_x |
Do order variable levels along x-axis by frequency. |
filename_print |
Character name of a plot file for save. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.