samp_dist {BayesianPower} | R Documentation |
Sample from prior or posterior distribution
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
.