fst_freq_plot {finnsurveytext} | R Documentation |
Make Top Words plot
Description
Plots most common words.
Usage
fst_freq_plot(table, number = NULL, name = NULL)
Arguments
table |
Output of 'fst_freq_table()' or 'fst_ngrams_table()'. |
number |
Optional number of n-grams for the title, default is 'NULL'. |
name |
An optional "name" for the plot to add to title, default is 'NULL'. |
Value
Plot of top words.
Examples
pf <- c("NOUN", "VERB", "ADJ", "ADV")
top_words <- fst_freq_table(fst_child, number = 15, pos_filter = pf)
fst_freq_plot(top_words, number = 15, name = "Bullying")
[Package finnsurveytext version 2.1.1 Index]