| trace_plot | R Documentation |
Produces per-parameter trace plots from a smoothbp_fit object.
Parameters with \hat{R} > 1.05 are flagged with a light-red
background and their panel labels include the \hat{R} value and a
warning symbol. Parameters with low bulk-ESS (< 100) are further annotated.
trace_plot(
fit,
pars = NULL,
type = "trace",
rhat_thresh = 1.05,
ess_thresh = 100
)
fit |
A |
pars |
Character vector of parameter names to include. Defaults to all non-random-effect parameters. |
type |
One of |
rhat_thresh |
Rhat threshold above which a parameter is flagged as
poorly mixing. Default |
ess_thresh |
Bulk-ESS threshold below which a parameter is flagged.
Default |
A ggplot object (or a named list of two when
type = "both").
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.