stm
1.3.8Estimation of the Structural Topic Model
Overview
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) doi:10.1111/ajps.12103 and Roberts et. al. (2016) doi:10.1080/01621459.2016.1141684. Vignette is Roberts et. al. (2019) doi:10.18637/jss.v091.i02.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE2026-06-2911 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-2811 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-06-2711 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-2011 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-06-0911 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 8 earlier snapshots
- WARNING2026-06-0811 OK · 1 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-05-1311 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-05-1211 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-04-2210 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-189 OK · 4 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-04-1610 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-099 OK · 3 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
- NOTE2026-03-1010 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 49%
- Documented parameters
- 98%
- Return-value docs
- 52%
- References docs
- 33%
Downloads
Repository
Stars over time
Forks over time
Repository practices
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/bstewart/stm on 2026-08-09.
Dependencies
Code & Tests
Datasets
People & History
20 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.3.8Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.3.72023-12-01 · diff ↗
- 1.3.6.12023-08-21 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.3.62020-09-18 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.3.52019-12-17 · diff ↗
- 1.3.42019-10-30 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 1.3.32018-01-28 · diff ↗
Show 18 earlier events
- 1.3.02017-09-09 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.2.22017-03-28 · diff ↗
- 1.2.12017-03-07 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.1.32016-01-15 · diff ↗
- 1.1.02015-07-28 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 1.0.82014-11-08 · diff ↗
- 1.0.12014-10-04 · diff ↗
- 1.0.02014-10-03 · diff ↗
- 0.6.242014-06-30 · diff ↗
- 0.6.162014-05-30 · diff ↗
- 0.6.122014-05-14 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 3.0.32014-02-28 · diff ↗
- 0.6.12014-02-28
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2014-02-28
- Total releases
- 20 / 12 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 869 KB / 3 files
- Download size
- 1.8 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("stm")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.