Skip to contents

Plotting method.

Usage

# S3 method for class 'mdl_rn'
plot(
  x,
  what = "seafloor",
  summarize = FALSE,
  limits = NULL,
  burn_in = TRUE,
  normalize = FALSE,
  verbose = TRUE,
  ...
)

Arguments

x

mdl_rn object.

what

Character specifying what to plot.

summarize

Logical if values over time should be plotted.

limits

Named list with vectors specifying min/max values.

burn_in

If TRUE, line to indicate burn-in time is plotted.

normalize

Logical if TRUE, count is divided by time steps.

verbose

If TRUE, progress reports are printed.

...

Not used.

Details

Plotting method for mdl_rn object simulated with run_simulation. The what arguments allows to either plot the seafloor values or fishpop values. For both, it is possible to either plot a spatial raster at a certain time step, or a summary of the values over all saved time steps (summarize argument).

If a spatial raster is plotted, the limits can be set identical. For more information see get_limits.

Examples

if (FALSE) { # \dontrun{
plot(result_rand)
} # }