plot_barplot | R Documentation |
Visualize a barplot.
plot_barplot(
df_origin,
df_var,
sort = FALSE,
bar_abs_size = 3.5,
bar_rel_size = 3,
axes_rel_small = 0.6,
show_missing = TRUE,
digits = 1,
flip = FALSE
)
df_origin |
source data farme (tibble). |
df_var |
categorical variable name. |
sort |
sort bars (boolean). |
bar_abs_size |
size of absolute values in plot. |
bar_rel_size |
size of relative values in plot. |
axes_rel_small |
relative value for small axes text (labels, titles …). |
show_missing |
include missing values in plot or not (boolean). |
digits |
amount of label value digits. |
flip |
flip axes (boolean). |
ggplot2 barplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.