TAF template for the FLSAM method: SAM fitted with the FLR package FLSAM.
The example data, in Lowestoft format, are in boot/initial/data.
boot.R: runstaf.bootstrap(), which installs FLCore, FLSAM and stockassessment fromboot/SOFTWARE.bib.data.Rrunsdata_FLSAM.R: reads the data files into an FLStock and FLIndices.model.Rrunsmodel_FLSAM.R: sets up the FLSAM control, fits the model and runs a retrospective analysis.output.Rrunsoutput_FLSAM.R: the numbers and fishing mortality at age, the summary table and Mohn's rho.report.Rrunsreport_FLSAM.R: plots of the inputs, the surveys and the diagnostics of the fit.
The FLSAM scripts were written at the Workshop on TAF Stock Assessment Templates (WKTSAT), and copied from src/FLSAM of ices-eg/WKTSAT at commit d343202. The data, model, output and report scripts that run them were added here.