Plot the estimated regression coefficients and credible intervals
Source:R/helper_functions.R
plot_coef.Rd
Plot the estimated regression coefficients and credible intervals for the linear effects in up to two models.
Arguments
- post_coefficients_1
Nsims x p
matrix of simulations from the posterior distribution of thep
coefficients, whereNsims
is the number of simulations- post_coefficients_2
Nsims x p
matrix of simulations from the posterior distribution of thep
coefficients from another model- alpha
confidence level for the credible intervals
- labels
p
dimensional string of labels for the coefficient names