content_levels: Content Levels

Description Usage Arguments Value References Examples

View source: R/content_levels.R

Description

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.

Usage

1
content_levels(stm_model)

Arguments

stm_model

the stm content covariate model

Value

character vector containing levels of the content covariate.

References

Roberts, M., Stewart, B., Nielsen, R. (2020) "Adjusting for Confounding with Text Matching." In American Journal of Political Science

Examples

1
2

textmatching documentation built on Aug. 19, 2020, 9:06 a.m.