flmvn_traits: flmvn_traits()

Description Usage Arguments Value Author(s)

View source: R/flmvn_traits.R

Description

Generate stock parameters with tuning from FishLife (Thorson et al. 2000) using MVN

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
flmvn_traits(
  Genus = "Rhabdosargus",
  Species = "globiceps",
  Loo = NULL,
  K = NULL,
  tmax = NULL,
  tm = NULL,
  M = NULL,
  Lm = NULL,
  h = NULL,
  nmc = 2 * 10^5,
  upper.quant = 0.9,
  Plot = TRUE,
  savepng = FALSE,
  PlotPath = getwd()
)

Arguments

Genus

genus name must match FishBase

Species

species name must match FishBase

Loo

optional tuning prior dist for Linf c(mu, cv)

K

optional tuning prior dist for brody K c(mu, cv)

tmax

optional tuning prior dist for maximum age c(mu, cv)

tm

optional tuning prior dist for age maturity c(mu, cv)

Lm

optional tuning prior dist for length maturity c(mu, cv)

h

optional uniform tuning prior dist for steepness h c(min, max)

nmc

number Monte-Carlo MVN draws

upper.quant

upper quatile for CIs ,

Plot

option TRUE/FALSE to switch of plots

savepng

option TRUE/FALSE to save plots as png

PlotPath

directory to save plot if savepng=TRUE

Value

stock parameter list, mvn covar, Monte-Carlo matrix of stock pars

Author(s)

Henning Winker (JRC-EC)


Henning-Winker/SPMpriors documentation built on Feb. 19, 2021, 2:57 p.m.