Description Usage Arguments Value Examples
This is equivalent to equation 6 in the draft SPFI document. In the Visual Basic this is referred to as the AEQScaler.
1  | calc_H.ty(c.ty.sum, r.ty.sum, hcwt.ty)
 | 
c.ty.sum | 
 Output from   | 
r.ty.sum | 
 Output from   | 
hcwt.ty | 
 Output from   | 
A data frame of the AEQ stratum harvest rate parameter estimates grouped by fishery stratum and year.
1 2 3 4 5 6 7 8 9 10 11 12 13 14  | ## Not run: 
aeqcwt <- hrj.df[hrj.df$data.type==data.type & hrj.df$fishery.index %in% fishery.subset & hrj.df$Stock.Number %in% stock.subset,]
if(region=="seak") aeqcwt <- adjustAlaska(x = aeqcwt, data.catch = data.catch)
c.ty.sum <- calc_ty.sum(x = aeqcwt, newvar.name = "c.ty.sum")
cwtcatch <- hrj.df[hrj.df$data.type=="NomCat" & hrj.df$fishery.index %in% fishery.subset & hrj.df$Stock.Number %in% stock.subset,]
if(region=="seak") cwtcatch <- adjustAlaska(x = cwtcatch, data.catch = data.catch)
r.ty.sum <- calc_ty.sum(x = cwtcatch, newvar.name = "r.ty.sum")
hcwt.ty <- calc_hcwt.ty(...)
H.ty <- calc_H.ty(c.ty.sum = c.ty.sum, r.ty.sum = r.ty.sum, hcwt.ty = hcwt.ty)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.