plot-methods {simecol} | R Documentation

## Methods for Function plot in Package ‘simecol’

### Description

Methods for function `plot` in package simecol.

### Usage

      ## S4 method for signature 'simObj, missing':
      plot(x, y, ...)
      ## S4 method for signature 'odeModel, missing':
      plot(x, y, ...)
      ## S4 method for signature 'gridModel, missing':
      plot(x, y, index=1:length(x@out), delay=0, ...)
      ## S4 method for signature 'rwalkModel, missing':
      plot(x, y, index=1:length(x@out), delay=0, ...)

### Arguments

`x` | an object of class `simObj`,
`y` | ignored,
`index` | index of time steps to be plotted,
`delay` | delay (in ms) between consecutive images (for `gridModel`s) or xy-plots (for `rwalkModel`s),
`...` | optional plotting parameters.

### Methods

x = "ANY", y = "ANY"
  Generic function: see `plot`.
x = "simObj", ...
  template function, does nothing and only issues a warning.
x = "odeModel", ...
  plots time series of the state variables. Optional plotting parameters are possible.
x = "gridModel", ...
  displays a series of images for the simulated grid.
x = "rwalkModel", ...
  displays a series of x-y plots of the simulated individuals.

[Package simecol version 0.6-9 Index]