A treatment is one or more controlled changes applied to an operating model
from a given year. Run with run_treatment(), the baseline and the treated
operating models share every random number (effort noise, recruitment
deviations, sampling), so all differences come from the treatment.
Usage
treatment(
name = "treatment",
effort = NULL,
recruitment = NULL,
selectivity = NULL,
creep = NULL,
M = NULL
)Details
Components (each optional, NULL = no change):
effort: list offleet,from,mult: nominal effort of the fleet is multiplied bymultfrom yearfrom(mult = 0: fleet leaves; a value0 for a fleet with no effort before has no effect, so use the fisherytrend to add a fleet).recruitment: list withtype="pulse"(years,mult),"trend"(from,rateper year, e.g. -0.05) or"regime"(from,mult): multiplies the recruitment deviations.selectivity: list offleet,from,sel(aselectivity()): the fleet's selectivity changes from yearfrom(e.g. a gear switch or a minimum size).creep: list offleet,from,rate: efficiency increases byrateper year fromfrom(in addition to the fishery's own creep).M: list offrom,mult: natural mortality is multiplied fromfrom.
Several entries of one component are given as a list of lists.
Examples
treatment("halve linefish effort",
effort = list(fleet = "linefish", from = 2010, mult = 0.5))
#> FLOSS treatment: halve linefish effort
#> effort: linefish x 0.5 from 2010
treatment("strong 2015 year class",
recruitment = list(type = "pulse", years = 2015, mult = 5))
#> FLOSS treatment: strong 2015 year class
#> recruitment: pulse x 5 in 2015