tidymrp makes it easy to run multilevel regression and poststratification analyses in R. It fits neatly into the tidyverse and can be used with a range of modelling packages from frequentist to Bayesian.

The focus of the package is on providing functions useful for MRP workflows including creating poststratification frames, poststratifying and visualising MRP results.

Getting Started

Installation

Install the latest development version from GitHub:

if (!require("devtools")) {
  install.packages("devtools")
}
devtools::install_github("joekroese/tidymrp")