Learn R Programming

r4ss (version 1.0)

SS_profile: Run a likelihood profile in Stock Synthesis.

Description

Iteratively changes the control file using SS_changepars.

Usage

SS_profile(dir = "C:/myfiles/mymodels/myrun/", masterctlfile =
"control.ss_new", newctlfile = "control_modified.ss", linenum = NULL,
string = NULL, profilevec = NULL, command = "SS3 -nox", model = "ss3",
saveoutput = T, verbose = T)

Arguments

dir
Directory where input files and executable are located.
masterctlfile
Source control file. Default="control.ss_new"
newctlfile
Destination for new control files (must match entry in starter file). Default="control_modified.ss".
linenum
Optional line number of parameter to be changed. Default=NULL.
string
Optional string partially matching name of parameter to be changed. Default=NULL.
profilevec
Vector of values to profile over. Default=NULL.
command
Call to executable. Default="SS3 -nox".
model
Name of executable. Default="ss3".
saveoutput
Copy output .SSO files to unique names. Default=T.
verbose
Controls amount of info output to command line. Default=T.

See Also

SS_changepars, SS_parlines