Description

cyclic_recruitment(n, mu_rec, sd_rec, dur, start = 1, seed = NA)

Arguments

n

number of recruitment events

mu_rec

vector of mean log-recruitment levels, one for each regime

sd_rec

vector of recruitment variation, one for each regime

dur

duration of regimes

start

which regime to start in

seed

a random seed (optional)

Value

`n` log-recruitment levels from two different regimes of length `dur`.