hb_plot_tau: Plot tau

View source: R/hb_plot_tau.R

hb_plot_tauR 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)

historicalborrow documentation built on Sept. 11, 2024, 9:05 p.m.