Learn R Programming

r4ss (version 1.24.0)

SS_varadjust: Modify variance and sample size adjustments in the control file

Description

Function has not been fully tested yet

Usage

SS_varadjust(dir = "C:/myfiles/mymodels/myrun/", ctlfile = "control.ss_new",
  newctlfile = "control_modified.ss", keyword = "Variance_adjustments",
  newtable = NULL, newrow = NULL, rownumber = NULL, maxcols = 100,
  overwrite = FALSE, verbose = TRUE)

Arguments

dir

Directory with control file to change.

ctlfile

Control file name. Default="control.ss_new".

newctlfile

Name of new control file to be written. Default="control_modified.ss".

keyword

Keyword to use as reference for start of section on variance adjustments

newtable

Optional table of new variance adjustment values

newrow

Optional vector of new variance adjustment values for a particular row

rownumber

Which of the 6 rows to replace with 'newrow' if present?

maxcols

Maximum number of columns to search among (may need to increase from default if you have a huge number of fleets)

overwrite

Overwrite file if it exists?

verbose

TRUE/FALSE switch for amount of detail produced by function. Default=TRUE.

See Also

SS_parlines, SS_changepars