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