R/sample-data.R
sample_dfm.Rd
This package data provides the document-feature-matrix (DFM) used to fit the
stm
topic model sample_topics
The DFM
is based on the inaugural presidential speeches in the respective dataset
included in the quanteda package
(quanteda::data_corpus_inaugural
),
with stopwords and numbers removed.
sample_dfm
This dataset is included for convenience and reproducibility.