View source: R/track_plotting.R
bru_convergence_plot | R Documentation |
Draws four panels of convergence diagnostics for an iterated INLA method estimation
bru_convergence_plot(x, from = 1, to = NULL)
x |
a bru object, typically a result from |
from , to |
integer values for the range of iterations to plot.
Default |
Requires the "dplyr", "ggplot2", "magrittr", and "patchwork" packages to be installed.
A ggplot object with four panels of convergence diagnostics:
Tracks
: Mode and linearisation values for each effect
Mode - Lin
: Difference between mode and linearisation values for each
effect
|Change| / sd
: Absolute change in mode and linearisation values
divided by the standard deviation for each effect
Change & sd
: Absolute change in mode and linearisation values
and standard deviation for each effect
For multidimensional components, only the overall average, maximum, and minimum values are shown.
bru()
## Not run:
fit <- bru(...)
bru_convergence_plot(fit)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.