S4 class that organizes the various data inputs for the MARS model. MARSdata simply inherits the slots from 6 component classes:
Dmodel, Dstock, Dfishery, Dsurvey DCKMR, and Dtag, where the D- prefix denotes an object for model data.
Details
For convenience, most arrays and matrices have the associated dimensions in the variable name. For example, Cobs_ymfr represents
observed catch with the dimension following the underscore, following this template:
y | Year |
m | Season |
a | Age |
r | Region |
f | Fishery |
i | Index |
s | Stock |
Slots inherited from Dfishery
nfInteger, number of fleets
Cobs_ymfrTotal fishery catch
Csd_ymfrLognormal standard deviation of the fishery catch. Only used if
Dmodel@condition = "F". Default of 0.01.fwt_yamfsFishery weight at age. Set to 1 when fleet catch is in units of abundance. Set to stock weight at age by default.
CAAobs_ymafrFishery catch at age composition
CALobs_ymlfrFishery catch at length composition
fcomp_likeCharacter, likelihood for the fishery composition data. See
typeargument oflike_comp()for optionsCAAN_ymfrSample size of the catch at age vector by season if using the multinomial or Dirichlet-multinomial likelihoods
CALN_ymfrSample size of the catch at length vector by season if using the multinomial or Dirichlet-multinomial likelihoods
CAAtheta_fCatch at age dispersion parameter if using the Dirichlet-multinomial likelihood. Default set to 1.
CALtheta_fCatch at length dispersion parameter if using the Dirichlet-multinomial likelihood. Default set to 1.
sel_block_yfIndex of dummy fleets to model time blocks of selectivity
sel_fCharacter vector of the functional form for selectivity. Choose between:
"logistic_length", "dome_length", "logistic_age", "dome_age", "SB", "B"Cinit_mfrEquilibrium seasonal catch prior to the first year. One way to initialize the abundance at the start of the first year in the model. Default of zero.
SC_ymafrsStock composition data.
SC_aaBoolean matrix that aggregates age classes for the stock composition data. See example.
SC_ffBoolean matrix that aggregates fleets for the stock composition data. See example.
SC_likeCharacter, likelihood for the stock composition data. See
typeargument oflike_comp()for optionsSCN_ymafrSample size of the stock composition vector if using the multinomial or Dirichlet-multinomial likelihoods
SCtheta_fStock composition dispersion parameter if using the Dirichlet-multinomial likelihood. Default set to 1.
SCstdev_ymafrsStock composition standard deviation if using the lognormal likelihood. Default set to 0.1.
See also
MARSdata-class check_data() Dmodel-class Dstock-class Dfishery-class Dsurvey-class DCKMR-class Dtag-class