greta is an R package for writing statistical models and fitting them by MCMC and optimisation
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, and the greta forum.See the
You can install the current release version of the package from CRAN:
or the development version from GitHub: