p5_reg_cat | R Documentation |
Determine qualitative regime classifications based on Goldstone et al. (2010) Figure 1.
p5_reg_cat(exrec, parcomp, pretty = FALSE)
exrec |
Executive Recruitment Concept ( |
parcomp |
Competitive of Participation ( |
pretty |
Logical to format categories with no spaces and first letter capitalized. |
A character vector of ordinal categorical regime classifications based on Goldstone et al. (2010).
Methods for this function are adapted from:
Goldstone, J. A. et al. A Global Model for Forecasting Political Instability. American Journal of Political Science 54, 190– 208 (2010).
polity<-demcon::get_polity5(write_out = FALSE)
polity$reg_cat<-demcon::p5_reg_cat(polity$exrec, polity$parcomp, pretty = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.