Plot the estimated regression coefficients and credible intervals
Source:R/helper_functions.R
plot_coef.RdPlot the estimated regression coefficients and credible intervals for the linear effects in up to two models.
Arguments
- post_coefficients_1
Nsims x pmatrix of simulations from the posterior distribution of thepcoefficients, whereNsimsis the number of simulations- post_coefficients_2
Nsims x pmatrix of simulations from the posterior distribution of thepcoefficients from another model- alpha
confidence level for the credible intervals
- labels
pdimensional string of labels for the coefficient names