This function will pull the estimates of the hierarchical covariates (whether at the person or item-discrimination level) and then plot them on a vertical coefficient plot. Names of the parameters are taken from the levels of the factor if a categorical variable and the column names otherwise.
id_plot_cov(object, cov_type = "person_cov", filter_cov = NULL, ...)
A fitted idealstan
object
Either 'person_cov' for person-level hierarchical parameters, 'discrim_reg_cov' for bill/item discrimination parameters from regular (non-inflated) model, and 'discrim_infl_cov' for bill/item discrimination parameters from inflated model.
A character vector of coefficients from covariate plots to exclude from plotting (should be the names of coefficients as they appear in the plots)
Any additional parameters passed on to mcmc_intervals
A ggplot2
plot that can be further customized with ggplot2
functions if need be.