R/create_forestplot.R
create_forestplot.RdThis function creates posterior forest plots for the mu parameters in the form of a ggplot.
create_forestplot(mcmc, names = NULL, limits = 0.95)A ggplot of posterior forest plots for the mu parameter.
mcmc <- mcmc_RCMVN(ybar=c(0,0,1,1), s=c(.1,.1,.1,.1), mu0=0.5, sigma0=5, tau=0.5,chains=2,seed=1)
#> [1] "Estimating chain 1 of 2."
#> [1] "Estimating chain 2 of 2."
create_forestplot(mcmc,names=paste0("Treatment ",1:4))
#> Warning: `label` cannot be a <ggplot2::element_blank> object.