Calculate FREX (FRequency and EXclusivity) Words
Calculate Lift Words
Convert stm formatted documents to another format
Estimates regressions using an STM object
Residual dispersion test for topic number
Plot a wordcloud
Calculate Score Words
Looks for words that load exclusively onto a topic
Align the vocabulary of a new corpus to an old corpus
STM Corpus Coercion
Heldout Likelihood by Document Completion
Make a Design Matrix
Exclusivity
Find Thoughts
Performs model selection across separate STM's that each assume different
numbers of topics.
Analyze Stability of Local STM Mode
Optimize Document
Permutation test of a binary covariate.
Draw from a Multivariate Normal
Find topics that contain user specified words.
Fit New Documents
Plots diagnostic values resulting from searchK
Make a B-spline Basis Function
Displays verbose labels that describe topics and topic-covariate groups in
depth.
Computes diagnostic values for models with different values of K (number of
topics).
Plot predictions using topics
Plots semantic coherence and exclusivity for each topic.
Gadarian and Albertson data
A James-Stein Estimator Shrinking to a Uniform Distribution
Plotting Method for Multimodality Diagnostic Objects
Functions for plotting STM objects
Read in a corpus file.
Read in a .ldac Formatted File
Plots semantic coherence and exclusivity for high likelihood models
outputted from selectModel.
Plots strings
Assists the user in selecting the best STM model.
Plot a topic correlation graph
Plot documents, words and tokens removed at various word thresholds
Plot some effects with loess
Structural Topic Model
Summary Function for the STM objects
Summary for estimateEffect
Wrapper to launch LDAvis topic browser.
Estimate topic correlation
Semantic Coherence
Variational EM for the Structural Topic Model
Unpack a glmnet object
Write a .ldac file
Label topics
Make a data.table
of topic proportions.
Plot an STM permutation test.
Plot effect of covariates on topics
CMU 2008 Political Blog Corpus
Prepare documents for analysis with stm
Process a vector of raw texts
Draw from Theta Posterior