Help

historicalborrowlong-package

historicalborrowlong: Bayesian longitudinal historical borrowing models for clinical studies.

Data

hbl_data()

Standardize data

hbl_s_tau()

Suggest s_tau

Simulate

hbl_sim_hierarchical()

Non-longitudinal hierarchical simulations.

hbl_sim_pool()

Longitudinal pooled simulations.

hbl_sim_independent()

Longitudinal independent simulations.

MCMC

hbl_convergence()

Check convergence diagnostics

hbl_mcmc_hierarchical()

Longitudinal hierarchical MCMC

hbl_mcmc_pool()

Longitudinal pooled MCMC

hbl_mcmc_independent()

Longitudinal independent MCMC

hbl_mcmc_sge()

Run all MCMCs on a Sun Grid Engine (SGE) cluster.

Summary

hbl_summary()

Model summary

hbl_metrics()

Borrowing metrics

Plot

hbl_plot_borrow()

Plot the hierarchical model response against the benchmark models.

hbl_plot_group()

Plot the groups of the hierarchical model and its benchmark models.

hbl_plot_tau()

Plot tau