plot: panelPomp plotting facilities

plotR Documentation

panelPomp plotting facilities

Description

Diagnostic plots for each unit in a panelPomp

Usage

## S4 method for signature 'panelPomp_plottable'
plot(
  x,
  variables,
  panel = lines,
  nc = NULL,
  yax.flip = FALSE,
  mar = c(0, 5.1, 0, if (yax.flip) 5.1 else 2.1),
  oma = c(6, 0, 5, 0),
  axes = TRUE,
  ...
)

Arguments

x

the object to plot

variables

optional character; names of variables to be displayed

panel

function of prototype panel(x, col, bg, pch, type, ...) which gives the action to be carried out in each panel of the display.

nc

the number of columns to use. Defaults to 1 for up to 4 series, otherwise to 2.

yax.flip

logical; if TRUE, the y-axis (ticks and numbering) should flip from side 2 (left) to 4 (right) from series to series.

mar, oma

the par mar and oma settings. Modify with care!

axes

logical; indicates if x- and y- axes should be drawn

...

ignored or passed to low-level plotting functions

Value

No return value (the function returns NULL).

Author(s)

Edward L. Ionides

Examples

plot(panelRandomWalk())

cbreto/panelPomp documentation built on Sept. 15, 2024, 10:42 p.m.