Skip to contents

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.

See also

Author

Kelli F. Johnson