Description Usage Arguments Details See Also
plot_term_frequencies
plots time series of topic shares for a
selection of topics in a faceted plot. Each topic is displayed in a single
subplot and each time series is overlayed with a linear trendline.
1 2 3 4 | plot_topic_frequencies(topicsByDocDate, topicLabels = NULL,
timeBinUnit = "week", topN = 25, minTopicTimeBins = 0.5,
minGamma = 0.01, selectTopicsBy = "most_frequent",
selectTopics = NULL, verboseLabels = FALSE, nCols = 5)
|
topicsByDocDate |
a dataframe as returned by
|
topicLabels |
a dataframe as returned by |
timeBinUnit |
a character sequence specifying the time period that
should be used as a bin unit when computing topic share frequencies. Valid
values are |
topN |
the number of top topics (according to the selection criteria in
|
minTopicTimeBins |
a double in the range |
minGamma |
the minimum share of a topic per document to be considered
when summarizing topic frequencies; topics with smaller shares per
individual document will be ignored when computing topic frequencies. The
default is |
selectTopicsBy |
the selection approach which determines the metric by
which
|
selectTopics |
a vector of topic IDs which should be plotted; this
option is only considered when the option "topic_id" is chosen for
|
verboseLabels |
a Boolean indicating if additional topic information
should be used to labels subplots. The default is |
nCols |
the number of columns along which topic subplots should be layed out. |
This function merges the computation of topic frequencies
(topic_frequencies
), creation of suitable labels
(topics_terms_map
) and the selection of topics by miscellaneous
criteria (select_top_topics
) into one step.
Other visualizations: plot_term_frequencies
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.