This function creates a horizontal barchart of word frequencies.
wordFreqChart(
word_freqs,
min_freq = 1,
top_count = 20,
pcolors = NULL,
family = NULL
)
Dataframe. Word frequencies.
Numeric. Minimum frequency for a word to be included in the chart. Default is 1
.
Numeric. Top count of words to render in word frequency chart. Default is 20
.
List. Colors to assign categorical variable in the plot. Default is NULL
.
Character string. Set a font family for plot labels. Default is NULL
.
A barchart plot.