Learn R Programming

r4ss (version 1.36.1)

SS_writectl_3.24: write control file

Description

write Stock Synthesis control file from list object in R which was probably created using SS_readctl

Usage

SS_writectl_3.24(ctllist, outfile, overwrite = FALSE, verbose = TRUE,
  nseas = 1, N_areas = 1, Do_AgeKey = FALSE)

Arguments

ctllist

List object created by SS_readctl.

outfile

Filename for where to write new data file.

overwrite

Should existing files be overwritten? Default=FALSE.

verbose

Should there be verbose output while running the file?

nseas

number of season in the model. This information is not explicitly available in control file

N_areas

number of spatial areas in the model. This information is also not explicitly available in control file

Do_AgeKey

Flag to indicate if 7 additional ageing error parameters to be read set 1 (but in fact any non zero numeric in R) or TRUE to enable to read them 0 or FALSE (default) to disable them. This information is not explicitly available in control file, too.

See Also

SS_readctl, SS_readctl_3.24,SS_readstarter,