hbl_plot_tau {historicalborrowlong} | R Documentation |
Plot tau
Description
Plot the rep-specific tau parameters of a fitted hierarchical model.
Usage
hbl_plot_tau(mcmc)
Arguments
mcmc |
Data frame of posterior samples generated by
|
Value
A ggplot
object
See Also
Other plot:
hbl_plot_borrow()
,
hbl_plot_group()
Examples
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)
}
[Package historicalborrowlong version 0.0.8 Index]