g3_suitability_andersen()
now produces sensible values
- https://github.com/gadget-framework/gadget3/issues/108g3a_age()
now supports stocks with a single age
(i.e. minage == maxage)recage
parameter to g3a_renewal_vonb
/
g3a_renewal_initabund
g3_suitability_andersenfleet()
, a fleet-specialised
andsersen suitability function.g3_is_stock()
publicg3_eval()
, to evaluate snippets of a gadget3
model.g3l_distribution_*(transform_fs = ...)
now happens
before aggregation, not after. Any matrix used now has to be expressed
in terms of the stock, not aggregated age.
g3_param_table()
now returns NaN (and warns) on a
missing value, instead of aborting.
optim(g3_tmb_par(...))
is now an error. When
optimising, always use obj.fun$par
.
as.vector(array)
in TMB formulas, so arrays can
be used with TMB vectorized functions,
e.g. pnorm(as.vector(ar[,1]))
.