# Keyword Assisted Topic Model

## Documentation for package ‘keyATM’ version 0.4.0

- DESCRIPTION file.

## Help Pages

keyATM-package | Keyword Assisted Topic Models
by_strata_DocTopic | Estimate document-topic distribution by strata (for covariate models)
by_strata_TopicWord | Estimate subsetted topic-word distribution
covariates_get | Return covariates used in the iteration
covariates_info | Show covariates information
keyATM | keyATM main function
keyATMvb | keyATM with Collapsed Variational Bayes
keyATM_data_bills | Bills data
keyATM_read | Read texts
multiPGreg | Run multinomial regression with Polya-Gamma augmentation
plot.strata_doctopic | Plot document-topic distribution by strata (for covariate models)
plot_alpha | Show a diagnosis plot of alpha
plot_modelfit | Show a diagnosis plot of log-likelihood and perplexity
plot_pi | Show a diagnosis plot of pi
plot_timetrend | Plot time trend
predict.keyATM_output | Predict topic proportions for the covariate keyATM
read_keywords | Convert a quanteda dictionary to keywords
save.keyATM_output | Save a keyATM_output object
save_fig | Save a figure
top_docs | Show the top documents for each topic
top_topics | Show the top topics for each document
top_words | Show the top words for each topic
values_fig | Get values used to create a figure
visualize_keywords | Visualize keywords
weightedLDA | Weighted LDA main function