hb_plot_tau {historicalborrow}R Documentation

Plot tau

Description

Plot the tau parameter of a fitted hierarchical model.

Usage

hb_plot_tau(mcmc)

Arguments

mcmc

Data frame of posterior samples generated by hb_mcmc_hierarchical().

Value

A ggplot object

See Also

Other plot: hb_plot_borrow(), hb_plot_group()

Examples

data <- hb_sim_independent(n_continuous = 2)$data
mcmc <- hb_mcmc_hierarchical(
  data,
  n_chains = 1,
  n_adapt = 100,
  n_warmup = 100,
  n_iterations = 200
)
hb_plot_tau(mcmc = mcmc)

[Package historicalborrow version 1.0.4 Index]