This helper evaluates stock-recruitment relationships using the parameter coding stored in `SR_mat`. Currently, Hockey-stick (`SR_type = 1`), Beverton-Holt (`SR_type = 2`), and Ricker (`SR_type = 3`) are supported.

predict_recruitment_from_sr_pars(ssb, sr_type, a, b)

Arguments

ssb

Numeric vector of spawning stock biomass.

sr_type

Numeric vector or scalar. `1` = HS, `2` = BH, `3` = RI.

a, b

Numeric vectors or scalars of stock-recruitment parameters.

Value

Numeric vector of predicted recruitment.