Skip to contents

Retrieve the distribution object associated with a gretaR_array variable node, or NULL if none is set.

Usage

distribution(x)

Arguments

x

A gretaR_array.

Value

The GretaRDistribution object, or NULL.

Examples

if (FALSE) { # \dontrun{
mu <- normal(0, 1)
distribution(mu)
} # }