Something went wrong. Try again.
[mirror] R Package for a Mildly Opinionated Stan Bayesian Workflow stanflow.visruth.com
Something went wrong. Try again.
Files
README.md
# stanflow (Stan Bayesian Workflow)
<!-- badges: start -->
[](https://codecov.io/github/VisruthSK/stanflow?branch=main)
[](https://github.com/VisruthSK/stanflow/actions/workflows/R-CMD-check.yaml)
[](https://github.com/VisruthSK/stanflow/actions/workflows/pkgdown.yaml)
[](https://github.com/VisruthSK/stanflow/actions/workflows/interfaces.yaml)
[](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…