After running a projection, the spawning stock biomass of each species can be plotted against time.
getSSBFrame( sim, species = dimnames(sim@n)$sp[!is.na(sim@params@A)], start_time = as.numeric(dimnames(sim@n)[]), end_time = as.numeric(dimnames(sim@n)[][dim(sim@n)]), ylim = c(NA, NA), total = FALSE )
An object of class MizerSim
Name or vector of names of the species to be plotted. By default all foreground species are plotted.
The first time to be plotted. Default is the beginning of the time series.
The last time to be plotted. Default is the end of the time series.
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.
A boolean value that determines whether the total SSB from all species is plotted as well. Default is FALSE
A data frame that can be used in