Fixed-effect coefficient diagnostics, split by contrast type and faceted by antimicrobial class
Source:R/plot_fixed_effect_diagnostics.R
plot_probit_fixed_effect_diagnostics.RdReturns a named list of up to two ggplot objects: other (every
non-hospital-dummy covariate – intercept, age, gender, etc.) and
hospital (hospital contrasts only, if the fit used hospital as a
fixed effect rather than a random effect). Both facet by antimicrobial
class rather than putting every class's coefficients on one axis.
Arguments
- fit
List returned by
fit_bayesian_multivariate_probit().- title_base
Character. Prefixed to plot titles.
- ci_level
Numeric. Credible interval level. Default
0.95.