Skip to contents

Help

historicalborrow-package
historicalborrow: Bayesian historical borrowing models for clinical studies.

Data

hb_data()
Standardize data

Simulate

hb_sim_hierarchical()
Non-longitudinal hierarchical simulations.
hb_sim_mixture()
Non-longitudinal mixture simulations.
hb_sim_pool()
Non-longitudinal pooled simulations.
hb_sim_independent()
Non-longitudinal independent simulations.

MCMC

hb_convergence()
Check convergence diagnostics
hb_mcmc_hierarchical()
Hierarchical model MCMC
hb_mcmc_mixture()
Mixture model MCMC
hb_mcmc_mixture_hyperparameters()
Mixture model MCMC hyperparameters
hb_mcmc_pool()
Non-longitudinal pooled MCMC
hb_mcmc_independent()
Independent-study model MCMC

Summary

hb_summary()
Model summary
hb_ess()
Effective sample size (ESS)

Plot

hb_plot_borrow()
Plot a borrowing model response against the benchmark models.
hb_plot_group()
Plot the groups of a borrowing model and its benchmark models.
hb_plot_tau()
Plot tau