Learn R Programming

mizer (version 1.0.1)

plot,MizerSim,missing-method: Summary plot for MizerSim objects

Description

After running a projection, produces 5 plots in the same window: feeding level, abundance spectra, predation mortality and fishing mortality of each species by size; and biomass of each species through time. This method just uses the other plotting methods and puts them all in one window.

Usage

# S4 method for MizerSim,missing
plot(x, y, ...)

Arguments

x

An object of class '>MizerSim

y

Not used

...

For additional arguments see the documentation for plotBiomass, plotFeedingLevel,plotSpectra,plotM2 and plotFMort.

Value

A viewport object

Examples

Run this code
# NOT RUN {
data(NS_species_params_gears)
data(inter)
params <- MizerParams(NS_species_params_gears, inter)
sim <- project(params, effort=1, t_max=20, t_save = 2)
plot(sim)
plot(sim, time_range = 10:20) # change time period for size-based plots
plot(sim, min_w = 10, max_w = 1000) # change size range for biomass plot
# }

Run the code above in your browser using DataLab