concat_dat: Concatenate a .dat file

View source: R/concat_dat.R

concat_datR Documentation

Concatenate a .dat file

Description

Concatenate a .dat file

Usage

concat_dat(
  year,
  species,
  area = "goa",
  model,
  dat_name,
  rec_age,
  plus_age,
  spawn_mo = 5,
  maturity = NULL,
  n_ageage = 1,
  n_sizeage = 1,
  retro = NULL,
  n_fleets = 1,
  n_ts = NULL,
  n_lls = NULL
)

Arguments

year

assessment year

species

"NORK", "REBS", "SABL"

area

"goa", "bsai", "everywhere"

model

folder that the .tpl will be in

dat_name

what to call the .dat file - ".dat" will be appended to the name

rec_age

recruitment age

plus_age

plus age group

spawn_mo

spawning month

maturity

if maturity is from outside the model (should be placed in user_input folder)

n_ageage

number of age error transmission matrices default is 1

n_sizeage

number of size at age transmission matrices default is 1

retro

not yet implemented

n_fleets

number of fishing fleets e.g., ll fleet, trawl fleet, default is 1

n_ts

number of trawl surveys dafault is 1

n_lls

number of longline surveys e.g., domestic and japanes, default is 1

Examples

concat_dat(year = 2020, species = "NORK",  area = "goa", model = "base", dat_name = "goa_nr", rec_age = 2, plus_age = 45)


BenWilliams-NOAA/groundfishr documentation built on May 11, 2022, 7:41 p.m.