Plot the rep-specific tau parameters of a fitted hierarchical model.
hbl_plot_tau(mcmc)
Data frame of posterior samples generated by
hbl_mcmc_hierarchical()
.
A ggplot
object
Other plot:
hbl_plot_borrow()
,
hbl_plot_group()
if (!identical(Sys.getenv("HBL_TEST", unset = ""), "")) {
set.seed(0)
data <- hbl_sim_independent(n_continuous = 2)$data
tmp <- utils::capture.output(
suppressWarnings(
mcmc <- hbl_mcmc_hierarchical(
data,
chains = 1,
warmup = 10,
iter = 20,
seed = 0
)
)
)
hbl_plot_tau(mcmc)
}