strat_data function

Prepare simulated data for stratified analysis

Prepare simulated data for stratified analysis

Generate set details (setdet), length-frequency (lf) and age-frequency (af) data for stratified analysis

strat_data(sim, length_group = 3, alk_scale = "division")

Arguments

  • sim: Simulation from sim_survey
  • length_group: Size of the length frequency bins
  • alk_scale: Spatial scale at which to construct and apply age-length-keys: "division", "strat" or "set".

Returns

Returns a list including set details (setdet), length-frequencies (lf), and age-frequencies (af).