Create a frequency histogram for codes
code_freq_hist(
x,
codes = ".*",
sortByFreq = "decreasing",
forceRootStripping = FALSE,
trimSourceIdentifiers = 20,
ggplot2Theme = ggplot2::theme(legend.position = "bottom"),
silent = rock::opts$get("silent")
)A parsed source(s) object.
A regular expression to select codes to include.
Whether to sort by frequency decreasingly
(decreasing, the default), increasingly (increasing),
or alphabetically (NULL).
Force the stripping of roots, even if they are different.
If not NULL, the number of character to trim
the source identifiers to.
Can be used to specify theme elements for the plot.
Whether to be chatty or silent.