CRAN/E | stm

stm

Estimation of the Structural Topic Model

Installation

About

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.

Citation stm citation info
www.structuraltopicmodel.com/
Bug report File report

Key Metrics

Version 1.3.7
R ≥ 3.5.0
Published 2023-12-01 147 days ago
Needs compilation? yes
License MIT
License File
CRAN checks stm results
Language en-US

Downloads

Yesterday 161 0%
Last 7 days 906 -37%
Last 30 days 4.947 -15%
Last 90 days 16.267 -30%
Last 365 days 80.982 -26%

Maintainer

Maintainer

Brandon Stewart

bms4@princeton.edu

Authors

Margaret Roberts

aut

Brandon Stewart

aut / cre

Dustin Tingley

aut

Kenneth Benoit

ctb

Material

NEWS
Reference manual
Package source

In Views

NaturalLanguageProcessing

Vignettes

Using stm

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

stm archive

Depends

R ≥ 3.5.0
methods

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

LinkingTo

Rcpp
RcppArmadillo

Reverse Depends

stmgui

Reverse Imports

discursive
stmCorrViz
stminsights
Twitmo

Reverse Suggests

oolong
quanteda
sentopics
tidytext
topicdoc