getSR: Predict recruitment and return fit to S-R observations

Description Usage Arguments Author(s)

View source: R/SS2OM.R

Description

Internal function to optSR

Usage

1
2
getSR(pars, SSB, rec, SSBpR, mode = 1, plot = FALSE, type = c("BH",
  "Ricker"))

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 (= 1) or recruitment deviations (not 1) be returned

plot

should a plot of the model fit be produced?#'

type

what type of stock recruitment curve is being fitted ("BH" = Beverton-Holt or "Ricker")

Author(s)

T. Carruthers


MSEtool documentation built on Oct. 17, 2018, 9:04 a.m.