stm: An R Package for Structural Topic Models
Journal of Statistical Software 91(2): 1-40, 2019.

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.
Related Publications
- [Paper] What Makes Foreign Policy Teams Tick: Explaining Variation in Group Performance at Geopolitical Forecasting
- [Paper] Navigating the Local Modes of Big Data: The Case of Topic Models
- [Paper] Computer-Assisted Reading and Discovery for Student Generated Text in Massive Open Online Courses
- [Paper] Computer-Assisted Text Analysis for Comparative Politics
- [Conference Proceedings] TopicCheck: Interactive Alignment for Assessing Topic Model Stability
- [Conference Proceedings] Computer-Assisted Content Analysis: Topic Models for Exploring Multiple Subjective Interpretations
- [Paper] Structural Topic Models for Open-Ended Survey Responses
- [Other] The Structural Topic Model and Applied Social Science