This function applies survival of the current abundance, advances age classes, re-distributes the stock using the movement matrix.
Arguments
- N
Abundance at current time step. Array
[a, r, s]- surv
Survival during the current time step. Array
[a, r, s]- na
Integer, number of age classes
- nr
Integer, number of regions
- ns
Integer, number of stocks
- advance_age
Logical, whether the animals advance to their next age class
- mov
Movement array in the next time step. Array
[a, r, r, s]. Rows denote region of origin and columns denote region of destination.- plusgroup
Logical, whether the last age class is an accumulator plus group.