generate_jabba: Generate frequently used input data for JABBA

View source: R/generate_jabba.R

generate_jabbaR Documentation

Generate frequently used input data for JABBA

Description

Generate frequently used input data for JABBA

Usage

generate_jabba(
  assessment_name,
  output_dir,
  sa_data,
  BmsyK = 0.4,
  model_year,
  projection_year,
  effort_data = NULL,
  tacs = NULL
)

Arguments

assessment_name

name of the assessment

output_dir

A file path to a directory where the assessment output will be saved.

sa_data

Simulated stock assessment input data from Rscript/simulation.R.

BmsyK

Inflection point of the surplus production curve. Default value is 0.4.

model_year

A vector of years for model fitting.

projection_year

A vector of years for projection.

effort_data

A vector of effort data.

tacs

A vector of total allowable catch values for projection.

Value

A list of initial input values

Examples

## Not run: 
generate_jabba(output_dir = here::here("data", "data_moderate"))

## End(Not run)

Bai-Li-NOAA/IFA4EBFM documentation built on April 26, 2024, 5:35 p.m.