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