Learn R Programming

greta (version 0.6.0)

Simple and 'Scalable' Statistical Modelling in R

Description

Write statistical models in R and fit them by 'MCMC' and optimisation on 'CPUs' and 'GPUs', using Google 'TensorFlow'. '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. This work is discussed at Golding (2019) .

Copy Link

Version

Install

install.packages('greta')

Monthly Downloads

107

Version

0.6.0

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Nicholas Tierney

Last Published

July 20th, 2026

Functions in greta (0.6.0)

greta_deps_spec

Specify python dependencies for greta
greta_set_deps

Choose the dependency versions greta installs
greta_set_install_logfile

Set logfile path when installing greta
greta_sitrep

Greta Situation Report
greta_set_python

Choose the Python environment greta uses
is.greta_mcmc_list

Is object a greta_mcmc_list?
greta_list_py_modules

List Python modules installed in greta env
optimisers

optimisation methods
mixture

mixtures of probability distributions
print.greta_deps_spec

Print method for greta python deps
greta_remove

Remove greta's Python dependencies
open_greta_install_log

Read a greta logfile
joint

define joint distributions
overloaded

Functions overloaded by greta
install_greta_deps

Install Python dependencies for greta
inference

Statistical inference on greta models.
operators

arithmetic, logical and relational operators for greta arrays
variable

create greta variables
greta_notes_tf_num_error

Retrieve python messages.
model

greta model objects
transforms

transformation functions for greta arrays
run_optimiser

Dispatch optimisation method to right class
reexports

Objects exported from other packages
internals

internal greta methods
print.greta_mcmc_list

Print method for greta MCMC list
write_greta_install_log

Write greta dependency installation log file
structures

create data greta arrays
samplers

MCMC samplers
simulate.greta_model

Simulate Responses From greta_model Object
is.greta_array

Is object a greta array?
dim<-.unknowns

set dims like on a matrix/array
deprecated-installers

Deprecated removal and reinstallation helpers
chol.greta_array

Compute the Cholesky Factor of a Matrix
as.greta_model

Convert object to a "greta_model" object
dim.node

generic to grab dimensions of nodes
as_data

convert other objects to greta arrays
calculate

calculate greta arrays given fixed values
distribution

define a distribution over data
as.unknowns

Create objects of class 'unknowns' to nicely print ? valued arrays
chol2symm

Cholesky Factor to Symmetric Matrix
greta

greta: simple and scalable statistical modelling in R
greta_create_conda_env

Create conda environment for greta
greta_install_miniconda

Installs miniconda
greta_deps_receipt

Capture greta python dependencies.
extract-replace-combine

extract, replace and combine greta arrays
gpu_cpu

Set GPU or CPU usage
functions

functions for greta arrays
distributions

probability distributions
greta_deps_tf_tfp

Suggested valid Python dependencies for greta