Read Stock Synthesis (version 3.30) control file into list object in R. This function comes with its wrapper function SS_readctl that calls SS_readctl_3.24 or SS_readctl_3.30 (this function).
SS_readctl_3.30(file, verbose = TRUE, echoall = FALSE,
version = "3.30", nseas = 4, N_areas = 1, Nages = 20,
Ngenders = 1, Npopbins = NA, Nfleet = 2, Nsurveys = 2,
Do_AgeKey = FALSE, N_tag_groups = NA, N_CPUE_obs = c(0, 0, 9, 12),
use_datlist = FALSE, datlist = NULL)
Filename either with full path or relative to working directory.
Should there be verbose output while running the file? Default=TRUE.
Debugging tool (not fully implemented) of echoing blocks of data as it is being read.
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).
number of seasons in the model. This information is not explicitly available in control file
number of spatial areas in the model. Default = 1. This information is also not explicitly available in control file
oldest age in the model. This information is also not explicitly available in control file
number of genders in the model. This information is also not explicitly available in control file
number of population bins in the model. This information is also not explicitly available in control file and this information is only required if length based maturity vector is directly supplied (Maturity option of 6), and not yet tested
number of fisheries in the model. This information is also not explicitly available in control file
number of survey fleets in the model. This information is also not explicitly available in control file
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.
number of tag release group. Default =NA. This information is not explicitly available control file. This information is only required if custom tag parameters is enabled (TG_custom=1)
numeric vector of length=Nfleet+Nsurveys containing number of data points of each CPUE time series
LOGICAL if TRUE, use datlist to derive parameters which can not be determined from control file
list or character. If list, should be a list produced from
SS_writedat
. If character, should be the file name of an
SS data file.
SS_readctl
, SS_readdat
SS_readdat_3.24
,SS_readdat_3.30
SS_readctl_3.24
,
SS_readstarter
, SS_readforecast
,
SS_writestarter
,
SS_writeforecast
, SS_writedat