Learn R Programming

DLMtool (version 5.0.2)

getBH: Predict Beverton-Holt recruitment and return fit to S-R observations

Description

Internal function to optBH

Usage

getBH(pars, SSB, rec, SSBpR, mode = 1, plot = F)

Arguments

pars

an initial guess at model parameters steepness and R0

SSB

'observations' of spawning biomass

rec

'observations' (model predictions) of recruitment

SSBpR

spawning stock biomass per recruit at unfished conditions

mode

should fit or recruitment deviations be returned

plot

should a plot of the model fit be produced?