Load example models from monty. These models exist so that we can create (hopefully) interesting examples in the documentation without them becoming overwhelming. You should probably not use these for anything other than exploring the package.
Value
A monty_model object
Supported models
bananna
The banana model is a two-dimensional banana-shaped function,
picked because it is quite annoying to sample from directly. The
model has two parameters alpha
and beta
and is based on two
successive draws, one conditional on the other.
You can vary sigma
for this model on creation, the default is 0.5
Examples
monty_example("banana")
#>
#> ── <monty_model> ───────────────────────────────────────────────────────────────
#> ℹ Model has 2 parameters: 'alpha' and 'beta'
#> ℹ This model:
#> • can compute gradients
#> • can be directly sampled from
#> • accepts multiple parameters
#> ℹ See `?monty_model()` for more information
monty_example("gaussian", diag(2))
#>
#> ── <monty_model> ───────────────────────────────────────────────────────────────
#> ℹ Model has 2 parameters: 'a' and 'b'
#> ℹ This model:
#> • can compute gradients
#> • can be directly sampled from
#> ℹ See `?monty_model()` for more information