plot_ngrams | R Documentation |
Plot ngrams - Word(s) vs. Count.
plot_ngrams(ngrams_data, top_rows = 25, plot_nrows = 25)
ngrams_data |
a data.frame containing word and n columns. |
top_rows |
a numeric vector of length 1. Number of top rows to be returned. |
plot_nrows |
a numeric vector of length 1. Number of rows to be plotted. |
plot_ngrams
A ggplot plot object of bar chart with words and their counts.
Ravindra Pushker
plot_ngrams(data.frame(word=c("test1", "test2"), n=c(25, 30)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.