Plot the annual proportions of life history groups (natural origin fish) or release strategies (hatchery origin) at various life stages
plot_LHG(
SMSE,
var = "NOS",
type = c("prop", "abs"),
s = 1,
FUN = median,
figure = TRUE,
xlab = "Projection Year",
ylab,
name,
ylim
)plot_RS(
SMSE,
var = "HOS",
type = c("prop", "abs"),
s = 1,
FUN = median,
figure = TRUE,
xlab = "Projection Year",
ylab,
name,
ylim
)
Base graphics figure, barplot of distribution or total numbers by LHG or RS. Returns invisibly the matrix of plotted values
Class SMSE object returned by salmonMSE()
Character. Slot for the state variables in SMSE@Misc$LHG[[1]] or SMSE@Misc$RS[[1]].
Character to indicate whether to plot proportion or absolute numbers
Integer. Population index for multi-population model (e.g., s = 1 is the first population in the model)
Summarizing function across simulations, typically median() or mean()
Logical, whether to generate a figure (set to FALSE if only using the function to return the data matrix)
Character. Name of time variable for the figure
Character. Name of the state variable for the figure
Character. Vector of names for the life history groups or release strategies
Vector length 2, y-axis limits
plot_statevar_ts()