Description Usage Arguments Examples
Convert MCMC chains to tidy for ggplot2
1 2 3 4 |
family. |
group of parameters with the same name but different numerical value between square brackets (as beta[1], beta[2]) |
description. |
Character vector giving a short descriptive text that identifies the model. |
par_labels. |
data frame with two colums. One named "Parameter" with the same names of the parameters of the model. |
sort. |
Logical. When TRUE (the default), parameters are sorted first by family name and then by numerical value. |
inc_warmup. |
Logical. When dealing with stanfit objects from rstan, logical value whether the warmup samples are included. Defaults to FALSE. |
stan_include_auxiliar. |
Logical value to include "lp__" parameter in rstan, and "lp__", "treedepth__" and "stepsize__" in stan running without rstan. Defaults to FALSE. |
droppars |
variables to exclude. Defaults to droppars = c("lp__","hs_c2","nu","sigma"). |
mcmc.list. |
an MCMC list |
1 | tidyGg()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.