plotStock: Plot the biological outcomes for different allocation...

View source: R/plot_functions.R

plotStockR Documentation

Plot the biological outcomes for different allocation scenarios for a simulation

Description

Plot the biological outcomes for different allocation scenarios for a simulation

Usage

plotStock(sim, stock = "B")

Arguments

sim

A BioEconomicSim object.

stock

A character giving the stock desired. This should be "A" for the adult population, "J" for the juvenile population, "T" for the total population or "B" for both stocks plotted on the same axis.

Examples

#load in the model parameters
data("seabass")
R <- c(rep(23151200, 20), rep(757600, 20))
sim <- project(params, R = R)
plotStock(sim)
plotStock(sim, stock = "T")
plotStock(sim, stock = "A")

CefasRepRes/FiRAM documentation built on Feb. 9, 2023, 10:06 p.m.