R function for presenting frequentist and Bayesian estimates in the same plot. To this end, the frequentist results are merged into a plot from brms::mcmc_plot()
.
Three arguments are required for this function:
- a summary of an 'lmerTest' model,
- confidence intervals from
lme4::confint.merMod()
, - a plot from
brms::mcmc_plot()
.
The function is equipped to accept the slight differences between the names of the predictors in the frequentist results and in the Bayesian results.