Description Usage Arguments Value
Randomly generate a list of parameters from each posterior distribution that is supplied as an input.
1 | sim_params(posteriors)
|
posteriors |
Posterior distributions must be passed as a single list, containing elements which are lists associated with each posterior distribution i.e. a list of lists. Each posterior distribution must contain "beta","covar","a","b". NOTE: EVEN IF THERE IS JUST ONE ELEMENT, THE INPUT MUST BE A LIST OF LISTS! |
A matrix with each row representing a set of beta coefficients.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.