Trace and Density Plots for MCMC Samples
Trace and Density Plots for MCMC Samples
## S3 method for class 'brmsfit' plot( x, pars = NA, combo = c("dens", "trace"), N = 5, fixed = FALSE, exact_match = FALSE, theme = NULL, plot = TRUE, ask = TRUE, newpage = TRUE, ... )
x |
An object of class |
pars |
Names of the parameters to plot, as given by a character vector or a regular expression. By default, all parameters except for group-level and smooth effects are plotted. |
combo |
A character vector with at least two elements.
Each element of |
N |
The number of parameters plotted per page. |
fixed |
Indicates whether parameter names
should be matched exactly ( |
exact_match |
Deprecated alias of argument |
theme |
A |
plot |
Logical; indicates if plots should be
plotted directly in the active graphic device.
Defaults to |
ask |
Logical; indicates if the user is prompted
before a new page is plotted.
Only used if |
newpage |
Logical; indicates if the first set of plots
should be plotted to a new page.
Only used if |
... |
Further arguments passed to
|
An invisible list of
gtable
objects.
## Not run: fit <- brm(count ~ zAge + zBase * Trt + (1|patient) + (1|visit), data = epilepsy, family = "poisson") plot(fit) ## plot population-level effects only plot(fit, pars = "^b_") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.