Write Stock Synthesis weight-at-age file from R object that was probably
created using SS_readwtatage()
SS_writewtatage(
mylist,
dir = NULL,
file = "wtatage.ss",
overwrite = FALSE,
verbose = TRUE,
warn = TRUE
)
Object created by SS_readwtatage()
.
A file path to the directory of interest.
Typically used with file
, an additional input argument,
to specify input and output file paths.
The default value is dir = NULL
, which leads to using
the current working directory, and thus, full file paths should
not be specified for other arguments as they will be appended
to dir
.
Filename for new weight-at-age file, which
will be appended to dir
to create a full file path.
Default="wtatage.ss".
A logical value specifying if the existing file(s)
should be overwritten. The default value is overwrite = FALSE
.
A logical value specifying if output should be printed to the screen.
A logical value specifying if a warning should be
generated if overwriting file
.
The default value is warn = TRUE
.