Journal of Statistical Software | 2019

stm: R Package for Structural Topic Models

 
 
 

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.

Volume 91
Pages 1-40
DOI 10.18637/JSS.V091.I02
Language English
Journal Journal of Statistical Software

Full Text