SS_write_biol: Writes life history parameters

View source: R/SS_write_biol.R

SS_write_biolR Documentation

Writes life history parameters

Description

Function to pull relevant life history parameters from atlantis to write to a Stock Synthesis control and/or data file.

Usage

SS_write_biol(
  ctl_obj,
  biolprm_object,
  species_code,
  M_est = NULL,
  wtsage,
  lensage,
  lenwt_a = NULL,
  lenwt_b = NULL
)

Arguments

ctl_obj

list that is returned from r4ss::read_ctl() that contains the control file

biolprm_object

list with a number of atlantis biological parameters

species_code

the three-letter species code of the fish you are creating a model for

M_est

scalar value for M of the species

wtsage

two dimensional vector with column names agecl and meanwt giving mean body weight at age in grams

lenage

three dimensional vector with column names agecl, meanln, and cvln giving mean body length and cv of body length at age

Value

an updated ctl_obj that has replaced parameters with the atlantis-created ones


r4atlantis/atlantisom documentation built on Nov. 12, 2023, 2:59 a.m.