greta is an R package for writing statistical models and fitting them by MCMC.
greta lets you write your own model like in BUGS, JAGS and Stan, except that you write models right in R, it scales well to massive datasets, and it’s easy to extend and build on.
website for more information, including tutorials, examples, package documentation,
See theand the greta forum.
You can install the current release version of the package (0.3.0) from CRAN:
install.packages("greta")
or the development version from GitHub:
devtools::install_github("greta-dev/greta")