Recruitment function with a specified crash period
recruits_crash.Rd
Generate future recruitment timeseries via historical reasampling, (see `resample_recruits`) but set a specific time period of the projected recruitment to a different values. Can be used to specify a "crash" in recruitment, or a "spike" in recruitment depending on the `crash_value`.
Arguments
- crash_length
number of years to have "crashed" recruitment
- crash_value
recruitment during the "crash" period
- hist_recruits
historical timeseries of recruitment (or deviates)
- nyears
total number of years to resample
- seed
random seed for reproducability
- crash_start_years
projection year to start the recruitment crash