Package: stm Title: Estimation of the Structural Topic Model Version: 1.3.7 Authors@R: c( person("Margaret", "Roberts", email="meroberts@ucsd.edu", role="aut"), person("Brandon", "Stewart", email="bms4@princeton.edu", role=c("aut","cre")), person("Dustin", "Tingley", email="dtingley@gov.harvard.edu", role="aut"), person("Kenneth","Benoit", email="kbenoit@lse.ac.uk", role="ctb")) Description: The Structural Topic Model (STM) allows researchers to estimate topic models with document-level covariates. The package also includes tools for model selection, visualization, and estimation of topic-covariate regressions. Methods developed in Roberts et. al. (2014) and Roberts et. al. (2016) . Vignette is Roberts et. al. (2019) . Depends: R (>= 3.5.0), methods LinkingTo: Rcpp, RcppArmadillo Imports: Rcpp (>= 0.11.3), data.table, glmnet, grDevices, graphics, lda, Matrix, matrixStats, parallel, quadprog, quanteda, slam, splines, stats, stringr, utils Suggests: clue, geometry, huge, igraph, LDAvis, KernSmooth, NLP, rsvd, Rtsne, SnowballC, spelling, testthat, tm (>= 0.6), wordcloud Encoding: UTF-8 LazyData: yes License: MIT + file LICENSE URL: http://www.structuraltopicmodel.com/ BugReports: https://github.com/bstewart/stm/issues RoxygenNote: 7.3.2 Language: en-US Config/pak/sysreqs: libicu-dev libxml2-dev Repository: https://bstewart.r-universe.dev Date/Publication: 2026-01-14 15:52:16 UTC RemoteUrl: https://github.com/bstewart/stm RemoteRef: HEAD RemoteSha: bd034c13f3e9130f066c7460e64bc69bddcacc27 NeedsCompilation: yes Packaged: 2026-06-14 08:24:56 UTC; root Author: Margaret Roberts [aut], Brandon Stewart [aut, cre], Dustin Tingley [aut], Kenneth Benoit [ctb] Maintainer: Brandon Stewart