Skip to contents

Help

brms.mmrm-package
brms.mmrm: Bayesian MMRMs using brms

Data

brm_data()
Create and preprocess an MMRM dataset.
brm_data_change()
Convert to change from baseline.

Simulation

brm_simulate_categorical()
Append simulated categorical covariates
brm_simulate_continuous()
Append simulated continuous covariates
brm_simulate_outline()
Start a simulated dataset
brm_simulate_prior()
Prior predictive draws.
brm_simulate_simple()
Simple MMRM simulation.

Priors

brm_prior_simple()
Simple prior for a brms MMRM

Models

brm_formula()
Model formula
brm_model()
Basic MMRM

Marginals

brm_marginal_data()
Marginal summaries of the data.
brm_marginal_draws()
MCMC draws from the marginal posterior of an MMRM
brm_marginal_draws_average()
Average marginal MCMC draws across time points.
brm_marginal_summaries()
Summary statistics of the marginal posterior of an MMRM.
brm_marginal_probabilities()
Marginal probabilities on the treatment effect for an MMRM.

Transformations

brm_transform_marginal()
Marginal mean transformation

Visualization

brm_plot_compare()
Visually compare the marginals of multiple models and/or datasets.
brm_plot_draws()
Visualize posterior draws of marginals.