SS_writedat {r4ss} | R Documentation |
write Stock Synthesis data file
Description
Write Stock Synthesis data file from list object in R which was probably
created using SS_readdat()
. This function is a
wrapper which calls either SS_writedat_3.24 or SS_writedat_3.30
(and potentially additional functions in the future). This setup allows those
functions to be cleaner (if somewhat redundant) than a single function that
attempts to do everything.
Usage
SS_writedat(
datlist,
outfile,
version = "3.30",
overwrite = FALSE,
faster = FALSE,
verbose = TRUE
)
Arguments
datlist |
List object created by |
outfile |
Filename for where to write new data file. |
version |
SS version number. Currently only "3.24" or "3.30" are supported, either as character or numeric values (noting that numeric 3.30 = 3.3). |
overwrite |
Should existing files be overwritten? Default=FALSE. |
faster |
Speed up writing by writing length and age comps without aligning the columns (by using write.table instead of print.data.frame) |
verbose |
Should there be verbose output while running the file? |
Author(s)
Ian G. Taylor, Yukio Takeuchi, Gwladys I. Lambert
See Also
SS_writedat_3.24()
, SS_writedat_3.30()
,
SS_readdat()
,
SS_readstarter()
, SS_writestarter()
,
SS_readforecast()
, SS_writeforecast()