create.advice.data function creates a list (elements: TAC, TAE and quota.share)

create.advice.data(yrs, ns, ni, stks.data, fleets)

Arguments

yrs

A vector with c(first.yr,proj.yr, last.yr) where

  • first.yr: First year of simulation (number).

  • proj.yr: First year of projection (number).

  • last.yr: Last year of projection (number).

ns

Number of seasons (number).

ni

Number of iterations (number).

stks.data

A list with the names of the stocks and the following elements: Optionals:

  • stk_advice.TAC.flq: TAC of the stock 'stk' (FLQuant).

  • stk_advice.TAE.flq: TAE of the stock 'stk' (FLQuant).

  • stk_advice.quota.share.flq: Quota share of the stock 'stk' (FLQuant).

  • stk_advice.avg.yrs: Historic years to calculate the average of TAC, TAE or quota share of the stock 'stk' (FLQuant).

fleets

Optional argument only required if stk_advice.quota.share is not specified. It could be the output of create_fleets_FLBEIA function (FLFleets).

Value

A list with TAC, TAE and quota.share elements.