plotAdvice: plotAdvice Plots stochastic stock dynamics against refpts for...

View source: R/PlotRefs.R

plotAdviceR Documentation

plotAdvice Plots stochastic stock dynamics against refpts for constant Fsim()

Description

plotAdvice Plots stochastic stock dynamics against refpts for constant Fsim()

Usage

plotAdvice(
  object,
  rpts = "missing",
  type = NULL,
  plotrefs = TRUE,
  probs = c(0.05, 0.2, 0.5, 0.8, 0.95),
  colour = "dodgerblue",
  ncol = NULL,
  label.size = 2.5
)

Arguments

type

age-structured "asm" or surplus production "spm" plotting style

plotrefs

if TRUE reference points are plotted

probs

determine credibility intervals, default 80th, 90th percentiles #' @param ncol number of plot panel columns

colour

color of CIs

label.size

size of refpts labels

stock

FLStock or FLStockR

refpts

as FLPar or Fbrp() if FLStockR is not provided or should be overwritten

Value

ggplot

Examples

data(ple4)
srr = srrTMB(as.FLSR(ple4,model=rickerSV),spr0=spr0y(ple4))
brp = computeFbrp(stock=ple4,sr=srr,proxy=c("sprx","f0.1","fe40"),blim=0.1,type="b0")
plotAdvice (ple4,brp)

Henning-Winker/FLRef documentation built on July 14, 2024, 7:28 a.m.