SS_writectl: Write Stock Synthesis control file

View source: R/SS_writectl.R

SS_writectlR Documentation

Write Stock Synthesis control file

Description

Write Stock Synthesis control file from list object in R which was probably created using SS_readctl(). This function is a wrapper which calls SS_writectl_3.30() (previously also SS_writectl_3.24, but that function has been deprecated).

Usage

SS_writectl(
  ctllist,
  outfile,
  version = "3.30",
  overwrite = FALSE,
  verbose = FALSE
)

Arguments

ctllist

List object created by SS_readdat().

outfile

Filename for where to write new control file.

version

SS version number. Currently "3.24" or "3.30" are supported, either as character or numeric values (noting that numeric 3.30 = 3.3). version = NULL is no longer the default or an allowed entry. The default is version = "3.30".

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.

Author(s)

Ian G. Taylor, Yukio Takeuchi, Gwladys I. Lambert, Kathryn L. Doering, Nathan R. Vaughan

See Also

Other read/write functions: SS_read(), SS_readctl(), SS_readdat(), SS_readforecast(), SS_readstarter(), SS_write(), SS_writedat(), SS_writeforecast(), SS_writestarter()


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