stm-package | R Documentation |
This package implements the Structural Topic Model, a general approach to
including document-level metadata within mixed-membership topic models. To
read the vignette use vignette('stmVignette')
.
Functions to manipulate documents: textProcessor
readCorpus
prepDocuments
Functions to fit the model: stm
selectModel
manyTopics
searchK
Functions to summarize a model: labelTopics
summary.STM
findThoughts
Functions for Post-Estimation: estimateEffect
topicCorr
permutationTest
Plotting Functions: plot.STM
plot.estimateEffect
plot.topicCorr
plot.STMpermute
plotQuote
plotTopicLoess
plotModels
topicQuality
Pre-Fit Models and Data: gadarian
gadarianFit
poliblog5k
Author: Margaret E. Roberts, Brandon M. Stewart and Dustin Tingley
Maintainer: Brandon Stewart <bms4@princeton.edu>
Roberts, M., Stewart, B., Tingley, D., and Airoldi, E. (2013) "The structural topic model and applied social science." In Advances in Neural Information Processing Systems Workshop on Topic Models: Computation, Application, and Evaluation.
Roberts, M., Stewart, B., Tingley, D., Lucas, C., Leder-Luis, J., Gadarian, S., Albertson, B., Albertson, B. and Rand, D. (2014). "Structural topic models for open ended survey responses." American Journal of Political Science.
Additional papers at: structuraltopicmodel.com
stm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.