Description Usage Arguments Value Examples
View source: R/post_predictive_check.R
Posterior predictive checks for bayesian vote count models.
| 1 2 3 | pp_check_party(model_fit_party)
pp_check(model_fit)
 | 
| model_fit_party | Output of  | 
| model_fit | Output of  | 
A tbl with posterior simulations for observed
polling stations, with observed vote counts
| 1 2 3 4 | data("gto_2012")
model <- mrp_party_estimation(gto_2012, party = pan_na, stratum = distrito_loc_17,
  frac = 1, seed = 2212)
pp_check <- pp_check_party(model)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.