Description Usage Format Details
This package data set summarizes the per document topic probabilities
according to the stm
topic model
sample_topics
fit to the inaugural presidential speeches in the
respective dataset included in the quanteda package
(quanteda::data_corpus_inaugural
).
1 |
a dataframe with 4 variables:
a unique document identifier, here a combination of president and year of speech
the (assumed) date of document
(i.e. speech) as a Date
object
a topic ID as assigned in the applied topic model
the probability that the given topic_id
explains the
given document
; in the analysis we interpret this as the topic's
share in this document
This dataset is included for convenience and reproducibility, most analysis and visualization functions in this package rely on the per-document topic probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.