Description Usage Arguments Value
Sample from prior or posterior distribution
1 | samp_dist(nsamp, means, sds)
|
nsamp |
A number. The number of prior or posterior samples to determine the fit and complexity |
means |
A vector. The prior or posterior means for each group |
sds |
A number or a vector. The standard deviations for each group If a number is used, the same prior or posterior standard deviation is used for each group. |
A matrix of nsamp rows and as many columns as the
length of means.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.