powered by
Plot a labelled vector, making use of the variable name, label and value labels to make the plot more readable. This function also works for other vectors, but provides little benefit.
plot_labelled( item, item_name = NULL, wrap_at = 70, go_vertical = FALSE, trans = "identity", x_axis_label = "values" )
a vector
item name, defaults to name of first argument
the subtitle (the label) will be wrapped at this number of characters
defaults to FALSE. Whether to show choices on the Y axis instead.
defaults to "identity" passed to ggplot2::scale_x_continuous()
ggplot2::scale_x_continuous()
defaults to "values"
data("bfi", package = "codebook") plot_labelled(bfi$BFIK_open_1)
Run the code above in your browser using DataLab