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