Image
stm: An R Package for Structural Topic Models
Publication Year
2019
Type
Journal Article
Abstract
This paper demonstrates how to use the R package stm for structural topic modeling. The structural topic model allows researchers to flexibly estimate a topic model that includes document-level metadata. Estimation is accomplished through a fast variational approximation. The stm package provides many useful features, including rich ways to explore topics, estimate uncertainty, and visualize quantities of interest.
Keywords
Journal
Journal of Statistical Software
Volume
91
Issue
2
Pages
1–40
ISSN Number
1548-7660
Website: http://structuraltopicmodel.com/