jbplot_retro | R Documentation |
Plots retrospective pattern of B, F, BBmsy, FFmsy, BB0 and SP #'
jbplot_retro(
hc,
type = c("B", "F", "BBmsy", "FFmsy", "procB", "SP"),
forecast = FALSE,
ylabs = NULL,
add = F,
output.dir = getwd(),
as.png = FALSE,
single.plots = add,
width = NULL,
height = NULL,
xlim = NULL,
cols = NULL,
legend.loc = "topright",
verbose = TRUE
)
hc |
output list from hindast_jabba() |
type |
single plot option c("B","F","BBmsy","FFmsy","BB0","SP") |
forecast |
includes retrospective forecasting if TRUE |
ylabs |
yaxis labels for quants |
add |
add to multi plot if TRUE |
output.dir |
directory to save plots |
as.png |
save as png file of TRUE |
single.plots |
if TRUE plot invidual fits else make multiplot |
width |
plot width |
height |
plot hight |
xlim |
allows to "zoom-in" requires speficiation Xlim=c(first.yr,last.yr) |
cols |
option to add colour palette |
legend.loc |
location of legend |
verbose |
if FALSE be silent |
Mohn's rho statistic for several quantaties
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)
jbplot_retro(hc)
jbplot_retro(hc,forecast=TRUE) # with retro forecasting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.