getSSBFrame: Get data frame of spawning stock biomass of species through...

Description Usage Arguments Value See Also

Description

After running a projection, the spawning stock biomass of each species can be plotted against time.

Get the biomass frame from a MizerSim object.

Usage

1
2
3
4
5
6
7
8
getSSBFrame(sim, ...)

## S4 method for signature 'MizerSim'
getSSBFrame(sim,
  species = sim@params@species_params$species[!is.na(sim@params@A)],
  start_time = as.numeric(dimnames(sim@n)[[1]][1]),
  end_time = as.numeric(dimnames(sim@n)[[1]][dim(sim@n)[1]]), ylim = c(NA,
  NA), total = FALSE, ...)

Arguments

sim

An object of class MizerSim

...

Other arguments to pass to getSBB method, currently unused.

species

Name or vector of names of the species to be plotted. By default all species are plotted.

start_time

The first time to be plotted. Default is the beginning of the time series.

end_time

The last time to be plotted. Default is the end of the time series.

ylim

A numeric vector of length two providing limits of for the y axis. Use NA to refer to the existing minimum or maximum. Any values below 1e-20 are always cut off.

total

A boolean value that determines whether the total SSB from all species is plotted as well. Default is FALSE

Value

A data frame that can be used in display_frames

See Also

getSSB


drfinlayscott/mizer documentation built on May 18, 2018, 9:20 a.m.