Learn R Programming

r4ss (version 1.36.1)

SS_writectl: Srite 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 either SS_writectl_3.24 or SS_writectl_3.30 (and potentially additional functions in the future).

Usage

SS_writectl(ctllist, outfile, version = NULL, overwrite = FALSE,
  verbose = TRUE)

Arguments

ctllist

List object created by SS_readdat.

outfile

Filename for where to write new control file.

version

SS version number. Currently only "3.24" or "3.30" are supported, either as character or numeric values (noting that numeric 3.30 = 3.3). Defaults to NULL, which means that the function will attempt to determine the version from ctllist.

overwrite

Should existing files be overwritten? Defaults to FALSE.

verbose

Should there be verbose output while running the file? Defaults to TRUE.

See Also

SS_writedat_3.24, SS_writedat_3.30, SS_readdat, SS_makedatlist, SS_readstarter, SS_writestarter, SS_readforecast, SS_writeforecast