plot frequency distribution of factor variable
Usage
plot_frequencies(
Data,
variable,
title = variable,
offset_perc_labels = 0.1,
size_perc_labels = 3,
vertical_x_axis_labels = TRUE
)
Arguments
- Data
Data to be plotted
- variable
variable
- title
plot title
- offset_perc_labels
distance of labels from bars
- size_perc_labels
size of percent labels
- vertical_x_axis_labels
should x-axis labels be ploted vertically (TRUE / FALSE)