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.
See the website for more information, including tutorials, examples, package documentation, and the greta forum.
You can install the current release version of the package from CRAN:
install.packages("greta")
Or install the development version of greta
from r-universe:
# Enable this universe
options(
repos = c(
gretadev = 'https://greta-dev.r-universe.dev',
CRAN = 'https://cloud.r-project.org'
)
)
# Install greta
install.packages('greta')
(Note - installing from r-universe is just like installing from CRAN, and should be faster and more convenient than installing from GitHub)
You can also install the development version of greta
via GitHub:
devtools::install_github("greta-dev/greta")