CASAL2OM: Reads MLE estimates from CASAL file structure into an...

Description Usage Arguments Value Author(s) See Also

View source: R/CASAL2OM.R

Description

A (prototype) function that uses the file location of a fitted CASAL assessment model including input files to population the various slots of an operating model with MLE parameter estimates. The function mainly populates the Stock and Fleet portions of the operating model; the user still needs to parameterize most of the observation and implementation portions of the operating model.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
CASAL2OM(
  CASALdir,
  Obs = DLMtool::Precise_Unbiased,
  Imp = DLMtool::Perfect_Imp,
  Name = NA,
  Agency = NA,
  Region = NA,
  Sponsor = NA,
  Latitude = NA,
  Longitude = NA,
  nsim = 48,
  proyears = 50,
  interval = 4,
  pstar = 0.5,
  maxF = 2,
  reps = 1,
  seed = 1,
  Common_Name = NA,
  Species = NA,
  Source = NA,
  Author = NA
)

Arguments

CASALdir

A folder with CASAL input and output files in it

Obs

The observation model (class Obs).

Imp

The implementation model (class Imp).

Name

The common name of the operating model

Agency

The fishery management agency

Region

The geographical location

Sponsor

Who funded the work

Latitude

In degrees north

Longitude

In degrees west

nsim

The number of simulations to take for parameters with uncertainty (for OM@cpars custom parameters).

proyears

The number of projection years for MSE

interval

The number of years between management updates

pstar

The quantile for TAC management given stochasticity

maxF

The maximum allowable F in the operating model.

reps

The number of stochastic replicates within each simulation in the operating model.

seed

The random seed for the operating model.

Common_Name

The name of the species

Species

The species latin name

Source

Reference to assessment documentation e.g. a url

Author

Who did the assessment

Value

An object of class OM.

Author(s)

T. Carruthers

See Also

SS2OM


tcarruth/MSEtool documentation built on Sept. 16, 2020, 5:59 a.m.