shinymrp: Interface for Multilevel Regression and Poststratification

Dual interfaces, graphical and programmatic, designed for intuitive applications of Multilevel Regression and Poststratification (MRP). Users can apply the method to a variety of datasets, from electronic health records to sample survey data, through an end-to-end Bayesian data analysis workflow. The package provides robust tools for data cleaning, exploratory analysis, flexible model building, and insightful result visualization. For more details, see Si et al. (2020) <https://www150.statcan.gc.ca/n1/en/pub/12-001-x/2020002/article/00003-eng.pdf?st=iF1_Fbrh> and Si (2025) <doi:10.1214/24-STS932>.

Version: 0.9.0
Depends: R (≥ 3.6.0)
Imports: bsicons, bslib, checkmate, config (≥ 0.3.2), dplyr, DT, ggplot2, golem (≥ 0.4.1), highcharter, htmlwidgets, httr2, loo, lubridate, magrittr, patchwork, posterior, purrr, qs, R6, RColorBrewer, readr, rlang, scales, shiny (≥ 1.8.0), shinyjs, shinyWidgets, stringr, tidyr, waiter
Suggests: cmdstanr, knitr, rmarkdown, spelling, testthat (≥ 3.0.0)
Published: 2025-10-09
DOI: 10.32614/CRAN.package.shinymrp (may not be active yet)
Author: Toan Tran [cre, aut, cph], Jonah Gabry [aut, cph], Yajuan Si [aut, cph]
Maintainer: Toan Tran <trannttoan97 at gmail.com>
BugReports: https://github.com/mrp-interface/shinymrp/issues
License: MIT + file LICENSE
URL: https://mrp-interface.github.io/shinymrp/
NeedsCompilation: no
Additional_repositories: https://stan-dev.r-universe.dev/
Language: en-US
Materials: README, NEWS
CRAN checks: shinymrp results

Documentation:

Reference manual: shinymrp.html , shinymrp.pdf
Vignettes: More on data preparation (source, R code)
More examples of R6 classes (source, R code)
Getting started with shinymrp (source, R code)
MRP methodological guide (source, R code)
Programmatic workflow demonstration (source, R code)

Downloads:

Package source: shinymrp_0.9.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=shinymrp to link to this page.