Man pages for keyATM
Keyword Assisted Topic Models

by_strata_DocTopicEstimate document-topic distribution by strata (for covariate...
by_strata_TopicWordEstimate subsetted topic-word distribution
calc_PGtheta_RCalculate the probability for Polya-Gamma Covariate Model
covariates_getReturn covariates used in the iteration
covariates_infoShow covariates information
keyATMkeyATM main function
keyATM_data_billsBills data
keyATM_fit_baseRun the Collapsed Gibbs sampler for the keyATM Base
keyATM_fit_covRun the Collapsed Gibbs sampler for the keyATM covariates...
keyATM_fit_covPGRun the Collapsed Gibbs sampler for the keyATM covariates...
keyATM_fit_HMMRun the Collapsed Gibbs sampler for the keyATM Dynamic
keyATM_fit_LDARun the Collapsed Gibbs sampler for weighted LDA
keyATM_fit_LDAcovRun the Collapsed Gibbs sampler for weighted LDA with...
keyATM_fit_LDAHMMRun the Collapsed Gibbs sampler for the weighted LDA with HMM...
keyATM_initializeInitialize a keyATM model
keyATM_outputCreate an output object
keyATM-packageKeyword Assisted Topic Models
keyATM_readRead texts
keyATMvbkeyATM with Collapsed Variational Bayes
keyATMvb_callRun the Variational Bayes for the keyATM models
keyATMvb_fitFit a keyATM model with Collapsed Variational Bayes
make_wsz_cppInitialize assignments
multiPGregRun multinomial regression with Polya-Gamma augmentation
plot_alphaShow a diagnosis plot of alpha
plot_modelfitShow a diagnosis plot of log-likelihood and perplexity
plot_piShow a diagnosis plot of pi
plot.strata_doctopicPlot document-topic distribution by strata (for covariate...
plot_timetrendPlot time trend
plot_topicpropShow the expected proportion of the corpus belonging to each...
predict.keyATM_outputPredict topic proportions for the covariate keyATM
read_dfm_cppRead files from the quanteda dfm (this is the same as...
read_keywordsConvert a quanteda dictionary to keywords
save_figSave a figure
semantic_coherenceSemantic Coherence: Mimno et al. (2011)
top_docsShow the top documents for each topic
top_topicsShow the top topics for each document
top_wordsShow the top words for each topic
values_figGet values used to create a figure
visualize_keywordsVisualize keywords
weightedLDAWeighted LDA main function
word_in_docChecking if a word is in a document
keyATM documentation built on April 3, 2025, 10:30 p.m.