hockeyStick: hockeyStick

hockeyStickR Documentation

hockeyStick

Description

A Harvest Control Rule (HCR) to calculate F, or Total Allowable Catch (TAC) based on a hockey stock harvest control rule.

Usage

hockeyStick(object, refs, ...)

Arguments

object

an object of class biodyn or

refs

FLPar or FLBRP object with reference points, can be missing if refpts are part of object params FLPar object with hockey stick HCR parameters, see hcrParam yr numeric vector with years used to values in HCR byr numeric vector with years used for bounds hyr numeric vector with years to use in projection tac logical should return value be TAC rather than F? bndF vector with bounds (i.e.min and max values) on iter-annual variability on F bndTac vector with bounds (i.e. min and max values) on iter-annual variability on TAC stkYrs numeric vector with years for calculating stock status, max(as.numeric(dimnames(stock(object))$year)), refYrs numeric vector with years for calculating reference points, max(as.numeric(dimnames(catch(object))$year)), hcrYrs numeric vector with years for setting management, max(as.numeric(dimnames(stock(object))$year)), maxF =2 numeric vector specifying maximum relative F

...

any additional arguments

Value

FLPar object with value(s) for F or TAC if tac==TRUE

Examples

## Not run: 
bd   =sim()

bd=window(bd,end=29)
for (i in seq(29,49,1))
bd=fwd(bd,harvest=hockeyStick(bd,yr=i,yr=i+1)$hvt)

## End(Not run)

flr/mydas documentation built on Jan. 19, 2024, 10:33 a.m.