Create a pairs plot for an MCmcmc object
# S3 method for MCmcmc
pairs(
x,
what = "sd",
subset = NULL,
col = NULL,
pch = 16,
cex = 0.2,
scales = "free",
...
)
A Lattice
plot.
An MCmcmc
object.
Character indicating what parameters to plot. Possible values
are "sd"
or "var"
which gives plots for the variance
components (on the sd. scale), "beta"
or "slope"
, which gives
plots for slope parameters and "alpha"
or "int"
, which gives
plots for the intercept parameters.
Character or numerical indicating the columns of the posterior
that should be plotted by pairs
.
Color of the lines points used for plotting of the posterior densities.
Plot symbol for the points.
Plot character size for points in pairs
.
Character vector of length two, with possible values "same" or
"free", indicating whether x- and y-axes of the plots should be constrained
to be the same across panels. For pairs
only the first element is
used to decide whether all panles should have the same axes.
Further aruments passed on to the Lattice
function called: trace
calls xyplot.mcmc
from the
coda
package, post
calls densityplot.mcmc
from the
coda
package,
calls pairs
from the graphics
package.
Bendix Carstensen, Steno Diabetes Center, bendix.carstensen@regionh.dk , https://BendixCarstensen.com.
MCmcmc
, plot.MCmcmc
,
ox.MC
, sbp.MC