powered by
A helper function which returns the levels of the content covariate in an stm model. Returns NULL if the model is not a content covariate model.
NULL
content_levels(stm_model)
the stm content covariate model
character vector containing levels of the content covariate.
Roberts, M., Stewart, B., Nielsen, R. (2020) "Adjusting for Confounding with Text Matching." In American Journal of Political Science
# NOT RUN { data(sim) content_levels(sim_topics) # }
Run the code above in your browser using DataLab