Gadget fit

gadget_fit(
  gd,
  params.in = attr(gd, "params_in"),
  fit = "FIT",
  f.age.range = NULL,
  weighted.mortality = FALSE,
  rec.age = NULL,
  rec.steps = NULL,
  steps = 1
)

Arguments

gd

gadget.variant.dir

params.in

input parameters

fit

location of the fit folder

f.age.range

age range for F

weighted.mortality

Method for calculating annual mortality. TRUE for a weighted mean, FALSE for an unweighted mean. This is only applicable if f.age.range is specified. Defaults to FALSE.

rec.steps

Step(s) at which recruitment occurs, defaults to "all" & applies to all stocks. Note that recruitment is printed at the start of the timestep.

steps

(unused)

rec.at.age

Age at which recruitment occurs, integer value that applies across stocks.

Value

list