G3 stock functions

Create stock objects, or add additional dimensions to a stock object

g3_stock() g3_stock_instance() g3_fleet() g3_stock_def() g3s_clone() g3_is_stock()

Gadget3 stock storage

g3s_age() g3s_agegroup()

Gadget3 stock age dimensions

g3_areas() g3s_livesonareas() g3s_areagroup()

Gadget3 stock area dimensions

g3s_tag()

Gadget3 tag dimension

g3s_time_convert() g3s_time()

Gadget3 stock time dimensions

G3 action functions

Actions add functionalty into a model, operating on stock objects

g3_action_order

Standard gadget3 order of actions

g3a_age()

Gadget3 age action

g3a_grow_lengthvbsimple() g3a_grow_weightsimple() g3a_grow_impl_bbinom() g3a_grow_length_multspec() g3a_grow_weight_multspec() g3a_grow_length_weightjones() g3a_grow_weight_weightjones() g3a_growmature()

Gadget3 growth action

g3a_mature_continuous() g3a_mature_constant() g3a_mature()

Gadget3 maturity action

g3a_migrate_normalize() g3a_migrate()

Gadget3 migration action

g3a_naturalmortality_exp() g3a_naturalmortality()

Gadget3 natural mortality action

g3a_predate_catchability_totalfleet() g3a_predate_catchability_numberfleet() g3a_predate_catchability_linearfleet() g3a_predate_catchability_effortfleet() g3a_predate_catchability_quotafleet() g3a_predate_maxconsumption() g3a_predate_catchability_predator() g3a_predate() g3a_predate_fleet() g3a_predate_totalfleet()

Gadget3 predation actions

g3a_renewal_vonb_recl() g3a_renewal_vonb_t0() g3a_renewal_initabund() g3a_initialconditions() g3a_initialconditions_normalparam() g3a_initialconditions_normalcv() g3a_renewal() g3a_renewal_normalparam() g3a_renewal_normalcv() g3a_otherfood() g3a_otherfood_normalparam() g3a_otherfood_normalcv()

Gadget3 renewal actions

g3a_report_stock() g3a_report_history() g3a_report_detail()

Gadget3 report actions

g3a_spawn_recruitment_fecundity() g3a_spawn_recruitment_simplessb() g3a_spawn_recruitment_ricker() g3a_spawn_recruitment_bevertonholt() g3a_spawn_recruitment_bevertonholt_ss3() g3a_spawn_recruitment_hockeystick() g3a_spawn()

Gadget3 spawning action

g3a_spmodel_logistic() g3a_spmodel()

Gadget3 surplus production model

g3a_predate_tagrelease() g3a_tag_shedding()

Gadget3 tag-release action

g3a_time()

Gadget3 timekeeping actions

g3a_weightloss()

Gadget3 weightloss action

g3l_bounds_penalty()

Gadget3 likelihood bounds_penalty action

g3l_distribution_sumofsquares() g3l_distribution_multinomial() g3l_distribution_multivariate() g3l_distribution_surveyindices_log() g3l_distribution_surveyindices_linear() g3l_distribution_sumofsquaredlogratios() g3l_abundancedistribution() g3l_catchdistribution() g3_distribution_preview()

Gadget3 likelihood actions

g3l_random_dnorm() g3l_random_walk()

Gadget3 random effects likelihood actions

g3l_sparsesample_linreg() g3l_sparsesample_sumsquares() g3l_sparsesample()

Gadget3 likelihood actions for sparse data

g3l_tagging_ckmr()

Gadget3 CKMR likelihood

g3l_understocking()

Gadget3 likelihood understocking action

G3 utilities

Tools to aid customising G3 actions, applicable to many actions

g3_array_agg()

Gadget3 array-handling utilities

g3_formula()

Gadget3 formula helpers

g3_parameterized()

Gadget3 parameter helpers

g3_suitability_exponentiall50() g3_suitability_andersen() g3_suitability_andersenfleet() g3_suitability_gamma() g3_suitability_exponential() g3_suitability_straightline() g3_suitability_constant() g3_suitability_richards()

Gadget3 suitability formulae

g3_timeareadata()

Gadget3 time-based data

g3_timevariable()

Gadget3 time-based formulas

G3 compilation

Functions converting actions into code, or other formats

g3_eval()

Evaluate G3 forumulas

g3_init_val()

Gadget3 parameter value setter

g3_to_desc()

Gadget3 actions into R code

g3_to_r() print(<g3_r>)

Gadget3 actions into R code

g3_to_tmb() g3_tmb_adfun() g3_tmb_par() g3_tmb_lower() g3_tmb_upper() g3_tmb_parscale() g3_tmb_relist()

Gadget3 actions into TMB code

G3 internals

Tools useful when writing your own G3 actions

g3_native() g3_global_formula()

Gadget3 language utilities

g3_env ADREPORT as_integer as.numeric assert_msg avoid_zero avoid_zero_vec bounded bounded_vec g3_matrix_vec lgamma_vec logspace_add normalize_vec nvl print_array ratio_add_vec REPORT REprintf Rprintf nonconform_mult nonconform_add nonconform_div nonconform_divavz

Gadget3 global environment

dif_pmax dif_pmin dif_pminmax

g3 env: differentiable functions

g3_idx g3_param g3_param_vector g3_param_table g3_with

G3 language extensions to R

g3_step()

G3 stock_* transformation functions