Estimation of the Structural Topic Model

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.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("stm")

1.3.0 by Brandon Stewart, 2 months ago


http://structuraltopicmodel.com


Report a bug at https://github.com/bstewart/stm/issues


Browse source code at https://github.com/cran/stm


Authors: Margaret Roberts [aut, cre], Brandon Stewart [aut, cre], Dustin Tingley [aut, cre], Kenneth Benoit [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports matrixStats, splines, slam, lda, quanteda, stringr, Matrix, glmnet, Rcpp, grDevices, graphics, stats, utils, data.table, quadprog, parallel, methods

Suggests igraph, SnowballC, tm, huge, clue, wordcloud, KernSmooth, NLP, LDAvis, geometry, Rtsne, testthat, rsvd

Linking to Rcpp, RcppArmadillo


Imported by stmBrowser, stmCorrViz, themetagenomics.

Depended on by stmgui.

Suggested by tidytext.


See at CRAN