pairs: Create a pairs plot for an MCmcmc object

Description Usage Arguments Value Author(s) See Also

Description

Create a pairs plot for an MCmcmc object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S3 method for class 'MCmcmc'
pairs(
  x,
  what = "sd",
  subset = NULL,
  col = NULL,
  pch = 16,
  cex = 0.2,
  scales = "free",
  ...
)

Arguments

x

An MCmcmc object.

what

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.

subset

Character or numerical indicating the columns of the posterior that should be plotted by pairs.

col

Color of the lines points used for plotting of the posterior densities.

pch

Plot symbol for the points.

cex

Plot character size for points in pairs.

scales

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 from the coda package, post calls densityplot from the coda package, calls pairs from the graphics package.

Value

A Lattice plot.

Author(s)

Bendix Carstensen, Steno Diabetes Center, bendix.carstensen@regionh.dk , http://BendixCarstensen.com.

See Also

MCmcmc, plot.MCmcmc, ox.MC, sbp.MC


MethComp documentation built on Jan. 20, 2020, 1:12 a.m.

Related to pairs in MethComp...