topics_summary
summarizes the mean likelihood of topics across all
documents combined with a set of suitable labels. This is a convenience
function to create summary visualizations or interactive tables.
topics_summary(topicsByDocDate, topicLabels)
topicsByDocDate | a dataframe as returned by
|
---|---|
topicLabels | a dataframe as returned by |
@return a dataframe with term frequencies by chosen timebin, where:
the unique topic identifier assigned by a topic model
a character vector of representative labels for
topic_id
the mean likelihood of topic_id
across all documents