SS_writewtatage: Write weight-at-age file

View source: R/SS_writewtatage.R

SS_writewtatageR Documentation

Write weight-at-age file

Description

Write Stock Synthesis weight-at-age file from R object that was probably created using SS_readwtatage()

Usage

SS_writewtatage(
  mylist,
  dir = NULL,
  file = "wtatage.ss",
  overwrite = FALSE,
  verbose = TRUE,
  warn = lifecycle::deprecated()
)

Arguments

mylist

Object created by SS_readwtatage().

dir

A file path to the directory of interest. The default value is dir = NULL, which leads to using the current working directory.

file

Filename for new weight-at-age file, which will be appended to dir to create a full file path. Default="wtatage.ss".

overwrite

A logical value specifying if the existing file(s) should be overwritten. The default value is overwrite = FALSE.

verbose

A logical value specifying if output should be printed to the screen.

warn

Deprecated.

Author(s)

Kelli F. Johnson

See Also

SS_readwtatage()


r4ss/r4ss documentation built on April 30, 2024, 4:42 a.m.