ASAP2OM: Convert ASAP 3 assessments into an operating model

View source: R/ASAP2OM.R

ASAP2OMR Documentation

Convert ASAP 3 assessments into an operating model

Description

Reads a fitted ASAP model and uses the MLE estimates with identical reconstruction among simulations. Future recruitment is sampled from a lognormal distribution with autocorrelation. ASAP2Data imports a Data object.

Usage

ASAP2OM(
  asap,
  nsim = 48,
  proyears = 50,
  mcmc = FALSE,
  Name = "ASAP Model",
  Source = "No source provided",
  nyr_par_mu = 3,
  Author = "No author provided",
  report = FALSE,
  silent = FALSE
)

ASAP2Data(asap, Name = "ASAP assessment")

Arguments

asap

A list returned by ASAP, e.g., asap <- dget("asap3.rdat").

nsim

The number of simulations in the operating model

proyears

The number of MSE projection years

mcmc

Logical, whether to use mcmc samples. Currently unsupported.

Name

The name of the operating model

Source

Reference to assessment documentation e.g. a url

nyr_par_mu

integer, the number of recent years to estimate vulnerability over for future projections

Author

Who did the assessment

report

Logical, should a comparison of biomass reconstruction be produced?

silent

Logical, should progress reporting be printed to the console?

Details

Length at age is not used in ASAP so arbitrary placeholder values are used for length-based parameters. Update these parameters to model length in the operating model.

Value

An operating model OM class.

Author(s)

Q. Huynh

See Also

Assess2OM


MSEtool documentation built on July 26, 2023, 5:21 p.m.