Change start year of the data file

change_startyear(dat_list, firstyear = NULL)

Arguments

dat_list

A Stock Synthesis data list object as read in from SS_readdat. Be sure to correctly specify which section of the data file you want to work with when reading it in using the section argument. Where, section = 1 reads in the input values used to run the model and section = 2 reads in the expected values generated given all the input to the OM. section = 3 is not used within ss3sim, but this section provides bootstrapped data sets that have been sampled internally within SS.

firstyear

An integer specifying the year to start fitting the model. The default is NULL, which will look up the first year with non-zero catch or non-zero catch-per-unit-effort data in dat_list.

Value

A r4ss::SS_readdat() list with an augmented start year.

Author

Kelli F. Johnson