calcRefpts: Plor results of ypr.FLIBM or Fmsy.FLIBM

View source: R/calcRefpts.R

calcRefptsR Documentation

Plor results of ypr.FLIBM or Fmsy.FLIBM

Description

Plor results of ypr.FLIBM or Fmsy.FLIBM

Usage

calcRefpts(
  resdf,
  ypr = TRUE,
  spar = 0.4,
  y1lab = NULL,
  y2lab = "SPR",
  xlab = "FM",
  Flab = NULL,
  SPRlab = "SPR",
  plot = TRUE,
  mar = c(3, 3, 1, 3),
  mgp = c(2, 0.5, 0),
  ps = 10
)

Arguments

resdf

bla

ypr

bla

spar

bla

y1lab

bla

y2lab

bla

xlab

bla

Flab

character Label used for y-axis. If 'ypr = TRUE', 'Flab = "Fmax"', else 'Flab = "Fmsy"'

SPRlab

character Label used for y-axis (default 'SPRlab = "SPR"')

plot

logical Should plot be drawn (default 'plot = TRUE')

mar

bla

mgp

bla

ps

bla

Value

list containing results and (optional) plot

Examples

data(stkMed)
stkMed$rec$params$rmax <- 1e4
resdf <- ypr.FLIBM(stkMed, ssbfec = 1e6, parallel = FALSE,
  FMs = seq(0,0.5,len=6), seed = 1)

calcRefpts(resdf, ypr=TRUE, spar=0.3)


marchtaylor/FLIBM documentation built on Jan. 19, 2025, 10:56 p.m.