simulate.ebnm | R Documentation |
The simulate
method for class ebnm
.
Extracts the posterior sampler from an object of class ebnm
and returns a specified number of samples.
## S3 method for class 'ebnm'
simulate(object, nsim = 1, seed = NULL, ...)
object |
The fitted |
nsim |
The number of posterior samples to return per observation. |
seed |
Either |
... |
Additional arguments to be passed to the posterior sampler
function. Since |
A matrix of posterior samples, with rows corresponding to distinct samples and columns corresponding to observations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.