Create figures that compare results across two dimensions
Usage
compare_spawners(SMSE_list, Design, prop = FALSE, FUN = median)
compare_fitness(SMSE_list, Design, FUN = median)
compare_escapement(SMSE_list, Design, FUN = median)
Arguments
- SMSE_list
A list of SMSE objects returned by
salmonMSE()
- Design
A data frame with two columns that describes the factorial design of the simulations. Used to label the figure. Rows correspond to each object in
SMSE_list
. There two columns are variables against which to plot the result. See example in https://docs.salmonmse.com/articles/decision-table.html.- prop
Logical, whether to plot absolute numbers over proportions
- FUN
Summarizing function across simulations, typically
stats::median()
orbase::mean()
Details
compare_spawners()
generates a time series of the composition of spawnerscompare_fitness()
generates a time series of metrics (fitness, PNI, pHOS, and pWILD) related to hatchery productioncompare_escapement()
generates a time series of the proportion of spawners and broodtake to escapement