jbretro: jbretro() computes Mohn's rho and forecast rho

View source: R/jabba_utils.R

jbretroR Documentation

jbretro() computes Mohn's rho and forecast rho

Description

Quantities retrospective pattern of B, F, BBmsy, FFmsy, BB0 and SP #'

Usage

jbretro(
  hc,
  type = c("B", "F", "BBmsy", "FFmsy", "procB", "SP"),
  forecast = TRUE
)

Arguments

hc

output list from hindast_jabba()

type

option c("B","F","BBmsy","FFmsy","BB0","SP")

forecast

includes retrospective forecasting if TRUE

Value

Mohn's rho statistic for several quantities

Examples

data(iccat)
bet= iccat$bet
jb = build_jabba(catch=bet$catch,cpue=bet$cpue,se=bet$se,assessment="BET",scenario = "Ref",model.type = "Pella",igamma = c(0.001,0.001),verbose=FALSE)
fit = fit_jabba(jb,quickmcmc=TRUE,verbose=FALSE)
hc = hindcast_jabba(jbinput=jb,fit=fit,peels=1:3)
jbretro(hc)
jbplot_retro(hc)
jbplot_retro(hc,forecast=TRUE) # with retro forecasting

jabbamodel/JABBA documentation built on Nov. 2, 2024, 12:50 p.m.