# Bayesian Aggregate Treatment Effects

## Documentation for package ‘baggr’ version 0.7.6

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

baggr-package | baggr - a package for Bayesian meta-analysis
baggr | Bayesian aggregate treatment effects model
baggr_compare | (Run and) compare multiple baggr models
baggr_plot | Plotting method in baggr package
baggr_theme_get | Set, get, and replace themes for baggr plots
baggr_theme_replace | Set, get, and replace themes for baggr plots
baggr_theme_set | Set, get, and replace themes for baggr plots
baggr_theme_update | Set, get, and replace themes for baggr plots
binary_to_individual | Generate individual-level binary outcome data from an aggregate statistics
cauchy | Prior distributions in baggr
chicks | Chickens: impact of electromagnetic field on calcium ion efflux in chicken brains
convert_inputs | Convert inputs for baggr models
data_spike | Spike & slab example dataset
effect_draw | Make predictive draws from baggr model
effect_plot | Plot predictive draws from baggr model
fixed_effects | Effects of covariates on outcome in baggr models
forest_plot | Draw a forest plot for a baggr model
get_order | Separate out ordering so we can test directly
group_effects | Extract baggr study effects
heterogeneity | Pooling metrics and related statistics for baggr
is.baggr_cv | Check if something is a baggr_cv object
labbe | L'Abbe plot for binary data
lkj | Prior distributions in baggr
lognormal | Prior distributions in baggr
loocv | Leave one group out cross-validation for 'baggr' models
loo_compare | Compare LOO CV models
microcredit | 7 studies on effect of microcredit supply
microcredit_simplified | Simplified version of the microcredit dataset.
mint | "Mean and interval" function, including other summaries, calculated for matrix (by column) or vector
multinormal | Prior distributions in baggr
mutau_cor | Correlation between mu and tau in a baggr model
normal | Prior distributions in baggr
plot.baggr | Plotting method for baggr outputs
plot.baggr_compare | Plot method for baggr_compare models
plot.baggr_cv | Plotting method for results of baggr LOO analyses
plot_quantiles | plot quantiles
pooling | Pooling metrics and related statistics for baggr
prepare_ma | Convert from individual to summary data in meta-analyses
prepare_prior | Prepare prior values for Stan models in baggr
print.baggr | S3 print method for objects of class 'baggr' (model fits)
print.baggr_compare | Print method for baggr_compare models
print.baggr_cv | Print baggr cv objects nicely
print.compare_baggr_cv | Print baggr_cv comparisons
print_dist | Output a distribution as a string
priors | Prior distributions in baggr
random_effects | Extract random effects from a baggr model
schools | 8 schools example
set_prior_val | Add prior values to Stan input for baggr
single_comp_plot | Plot single comparison ggplot in 'baggr_compare' style
student_t | Prior distributions in baggr
treatment_effect | Average treatment effect in a baggr model
uniform | Prior distributions in baggr
weights.baggr | Pooling metrics and related statistics for baggr
yusuf | Yusuf et al: beta-blockers and heart attacks