powered by
Plot ngrams - Word(s) vs. Count.
plot_ngrams(ngrams_data, top_rows = 25, plot_nrows = 25)
A ggplot plot object of bar chart with words and their counts.
a data.frame containing word and n columns.
a numeric vector of length 1. Number of top rows to be returned.
a numeric vector of length 1. Number of rows to be plotted.
Ravindra Pushker
plot_ngrams
plot_ngrams(data.frame(word=c("test1", "test2"), n=c(25, 30)))
Run the code above in your browser using DataLab