Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


finnsurveytext (version 2.0.0)

fst_freq_plot: Make Top Words plot

Description

Plots most common words.

Usage

fst_freq_plot(table, number = NULL, name = NULL)

Value

Plot of top words.

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`.

Examples

Run this code
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")

Run the code above in your browser using DataLab