[mirror] R Package for a Mildly Opinionated Stan Bayesian Workflow stanflow.visruth.com
README.md
# stanflow (Stan Bayesian Workflow) <!-- badges: start --> [![codecov](https://codecov.io/gh/VisruthSK/stanflow/branch/main/graph/badge.svg)](https://codecov.io/github/VisruthSK/stanflow?branch=main) [![R-CMD-check](https://github.com/VisruthSK/stanflow/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/VisruthSK/stanflow/actions/workflows/R-CMD-check.yaml) [![pkgdown](https://github.com/VisruthSK/stanflow/actions/workflows/pkgdown.yaml/badge.svg)](https://github.com/VisruthSK/stanflow/actions/workflows/pkgdown.yaml) [![check-interfaces](https://github.com/VisruthSK/stanflow/actions/workflows/interfaces.yaml/badge.svg)](https://github.com/VisruthSK/stanflow/actions/workflows/interfaces.yaml) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/VisruthSK/stanflow) <!-- badges: end --> NB: `stanflow` is currently under active development–breaking changes may be made without warning, until a proper release (see the v1.0.0 milestone). `stanflow` will join `stan-dev` once stable as well. ------------------------------------------------------------------------ `stanflow` is a R package for faciliting [Bayesian Workflow](https://arxiv.org/abs/2011.01808) (Gelman et al. 2020). Much like the famous [`tidyverse` package](https://github.com/tidyverse/tidyverse), `stanflow` is a metapackage which installs and attaches Stan R packages, serving as a one-stop-shop for Bayesian modelling. `stanflow` draws heavy inspiration from `tidyverse`, and reuses portions of its codebase–however, `stanflow` eschews `tidyverse` packages (i.e., `purrr`, `dplyr`, etc.) for base R. ## Features - Install common Stan packages in one step[^1]: - Installing (or attaching) `stanflow` installs (attaches) `bayesplot`, `loo`, `posterior`, `projpred`, and `shinystan` - Generate proper Stan citations for your research project: - `stan_cite()` scans a directory (or a provided list of files) to find all used Stan functions, and outputs a BibTeX with the correct citations for every package and functio…