ssmvln: ssmvln()

View source: R/utils.R

ssmvlnR Documentation

ssmvln()

Description

function to generate uncertainty for Stock Synthesis

Usage

ssmvln(
  ss3rep,
  Fref = NULL,
  years = NULL,
  virgin = FALSE,
  mc = 1000,
  weight = 1,
  run = "MVLN",
  addprj = FALSE,
  ymax = NULL,
  xmax = NULL,
  legendcex = 1,
  verbose = TRUE,
  seed = 123
)

Arguments

ss3rep

from r4ss::SS_output

Fref

Choice of Fratio c("MSY","Btgt","SPR","F01"), correponding to F_MSY and F_Btgt

years

single year or vector of years for mvln

virgin

if FALSE (default) the B0 base for Bratio is SSB_unfished

mc

number of monte-carlo simulations

weight

weighting option for model ensembles weight*mc

run

qualifier for model run

addprj

include forecast years

ymax

ylim maximum

xmax

xlim maximum

verbose

Report progress to R GUI?

seed

retains interannual correlation structure like MCMC

out

choice c("iters","mle")

plot

option to show plot

legendcex=1

Allows to adjust legend cex

Value

output list of quant posteriors and mle's

Author(s)

Henning Winker (GFCM)


Henning-Winker/FLRef documentation built on Dec. 16, 2024, 7:23 p.m.