fmsy.FLIBM: Estimate maximum sustainable yeild (Fmsy) of an FLIBM object

View source: R/fmsy.FLIBM.R

fmsy.FLIBMR Documentation

Estimate maximum sustainable yeild (Fmsy) of an FLIBM object

Description

bla

Usage

fmsy.FLIBM(
  obj = NULL,
  FMs = seq(0, 1, 0.1),
  years = dimnames(obj$stock.a)$year,
  yearsCompare = dimnames(obj$stock.a)$year,
  parallel = FALSE,
  no_cores = detectCores() - 1,
  clusterType = "PSOCK",
  outfile = "output.txt",
  seed = 1,
  resDir = tempdir(),
  cleanup = TRUE
)

Arguments

obj

bla

FMs

bla

years

bla

yearsCompare

bla

parallel

bla

no_cores

bla

clusterType

bla

outfile

bla

seed

bla

resDir

path to intermediate objects (default = tempdir()). Change directory if objects should be kept. Otherwise temporary directory is used, which is automatically deleted following the R session.

cleanup

logical. Default TRUE.

Value

data.frame

Examples


data(stkMed)
stkMed$rec$params$rmax <- 1e2
resdf <- fmsy.FLIBM(stkMed, years = ac(2000:2009),
  yearsCompare = ac(2005:2009), no_cores = 3,
  FMs = seq(0,1,length.out = 6),
  cleanup = TRUE,
  parallel = TRUE
)
calcRefpts(resdf, ypr = FALSE, spar=0.15)




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