v1.0.4
·
409 commits
to master
since this release
WHAM description + simulation test paper published: https://doi.org/10.1016/j.fishres.2021.105967
Major improvements
- New ability to plot results from multiple ASAP3 and WHAM models together for comparison. Thanks to @liz-brooks for contributing
read_asap3_fit! See?compare_wham_modelsand new vignette 8.
Minor improvements
- New
save.sdrep = Foption to only savesummary(sdreport)instead ofsdreport. Can make saved models MUCH smaller (e.g. 2 MB vs. 150 MB). (2f8875). - Added
proj.opts$percentFXSPRoption, percent of F_XSPR to use for calculating catch in projections. For example, GOM cod uses F = 75% F_XSPR, soproj.opts$percentFXSPR = 75. - Added
proj.opts$useFMSYandproj.opts$percentFMSYoptions, to project population and catches at (a percentage of) F_MSY. (467532) - Allow peels to be projected so can do retrospective predictions, as in Fig. 4 of Xu et al. 2018. See new vignette 9. (e1e00c)
Bug fixes
- Broken links in vignettes (thanks to @tcarruth)
- Plotting issue with Ecov OSA residuals and peels (thanks to @h-du-pontavice, 1163df)
- Double logistic selectivity setup in
prepare_wham_input(thanks to @tcarruth, f270dd) tryCatcherror assignment issues (9d5c87)- Remove error in default projection options (
percentSPR) - Setting up projections with multiple Ecovs (again thanks to @h-du-pontavice, 42a6a4)
- Selectivity parameter initial values set to middle of range if unspecified in
prepare_wham_input - Fixed
fit_tmbto make$final_gradientreported by wham equivalent tosdreport()$gradient.fixed. Issue was that themodel$env$last.par.bestis not updated by the newton steps after optimization somodel$opt$parwas slightly different (10^(-7) or smaller). e20bd8 - Factor order problem caused indices to be out of order when > 9 indices present. 9e0141
- Fixed default determination of age corresponding to fully selected (total) fishing mortality. Now
which_F_ageis a vector of annual values (including projection years) and the values are reassigned after fitting before reporting. (189b6c) - Added check for F_XSPR to verify percent of SPR0 is correct and, in projections, catch at F from catch is verified. Initial values for these algorithms can be specified by the user. (189b6c)
- If ecov years differ from model years, peel to same year in
fit_peel(e1e00c)