Calculate Autocorrelation Coefficient (Version 1)
Usage
get_rho_v1(first_yr, last_yr, rdev)
Arguments
- first_yr
An integer scalar, model start year.
- last_yr
An integer scalar, model end year.
- rdev
A numeric vector of length n_year, recruitment deviations.
Value
A numeric scalar, AR(1) autocorrelation coefficient for recruitment deviations.