samp_dist {BayesianPower} | R Documentation |
Sample from prior or posterior distribution
Description
Sample from prior or posterior distribution
Usage
samp_dist(nsamp, means, sds)
Arguments
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. |
Value
A matrix of nsamp
rows and as many columns as the
length of means
.
[Package BayesianPower version 0.2.3 Index]