remove_q_ctl: Remove a q setup line into an SS control file only

Description Usage Arguments Value Author(s)

View source: R/change_q.R

Description

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

Usage

1
2
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?

Value

A modified SS control file vector.

Author(s)

Kelli Johnson


ss3sim documentation built on Nov. 9, 2019, 1:06 a.m.