View source: R/02_data_exploration.R
fst_ngrams_plot | R Documentation |
Plots frequency n-grams.
fst_ngrams_plot(table, number = NULL, ngrams = 1, name = NULL)
table |
Output of 'fst_get_top_words()' or 'fst_get_top_ngrams()'. |
number |
Optional number of n-grams for title, default is 'NULL'. |
ngrams |
The type of n-grams, default is '1'. |
name |
An optional "name" for the plot to add to title, default is 'NULL'. |
Plot of top n-grams.
top_bigrams <- fst_ngrams_table(fst_child, ngrams = 2, number = 15)
fst_ngrams_plot(top_bigrams, ngrams = 2, number = 15, name = "Children")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.