Write a new Spc.prj file. This function is used to modify within R a pre-existent Spc.prj file.

writeGmacsprjfile(
  Dir = NULL,
  FileName = NULL,
  PrjFile = NULL,
  stock = "",
  model_name = "",
  Ass_Year = "",
  DirTPL = NULL
)

Arguments

Dir

(character string)- path where to save the new Spc.prj file

FileName

(character string)- name of the new Spc.prj file

PrjFile

(character string)- Object (list) containing the ex Spc.prj file - The list is created using the readGMACSprj() function.

stock

(character string)- name of the stock of interest

model_name

(character string)- name of the model currently considered (e.g., "model 22.A")

Ass_Year

(character string)- Year of this assessment.

DirTPL

(character string)- the directory where the gmacsbase.TPL file you are using for the stock assessment is hold.

Value

create a new .prj file.

See also