remove_q_ctl function

Remove a q setup line into an SS control file only

Remove a q setup line into an SS control file only

This function removesa q setup line from a SS 3.30 control file

remove_q_ctl(string, ctl.in, filename = TRUE, ctl.out, overwrite = FALSE)

Arguments

  • string: A string with the fleetname to remove.
  • ctl.in: An SS control file name to read in if filename = TRUE otherwise an SS control file vector already read using readLines()
  • filename: Does function expect ctl.in to be a filename? defaults to TRUE. See ctl.in definition.
  • ctl.out: The SS control file to read out.
  • overwrite: Logical. Overwrite an existing file with the same name as ctl.out or data.out?

Returns

A modified SS control file vector.

Author(s)

Kelli Johnson

  • Maintainer: Kelli F. Johnson
  • License: MIT + file LICENSE
  • Last published: 2019-11-08