Description Usage Arguments See Also Examples
View source: R/getPostMeanMedCI.R
Function to calculate posterior mean, median, and (1-alpha)x100 interval table based on a matrix with columns as parameters' MCMC draws
1 | getPostMeanMedCI(getPostMeanMedCI.mat, alpha = 0.05)
|
getPostMeanMedCI.mat |
Matrix whose columns contain MCMC draws |
alpha |
Type I error rate for credible interval. Defaults to 0.05. |
makeCIs, getMeanSDCI
1 2 3 | ## Calculate mean, median, and 95% quantile-based interval for columns
my.matrix = matrix(rnorm(5000,rep(1:5,each=1000),0.5),1000,5)
getPostMeanMedCI(my.matrix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.