Directly sample from a model. Not all models support this, and an error will be thrown if it is not possible.
Arguments
- model
A monty_model object
- rng
Random number state, created by monty_rng. Use of an RNG with more than one stream may or may not work as expected; this is something we need to tidy up (
mrc-5292
)- named
Logical, indicating if the output should be named using the parameter names.