Learn R Programming

r4ss (version 1.44.0)

SS_readdat_3.30: read data file from SS version 3.30

Description

Read Stock Synthesis (version 3.30) data file into list object in R. This function was formerly called SS_readdat. That name is now used for a wrapper function that calls either SS_readdat_3.24 or SS_readdat_3.30 (and potentially additional functions in the future).

Usage

SS_readdat_3.30(file, verbose = TRUE, echoall = FALSE, section = NULL)

Arguments

file

Filename either with full path or relative to working directory.

See the formal arguments for a possible default filename.

verbose

Should there be verbose output while running the file? Default=TRUE.

echoall

Debugging tool (not fully implemented) of echoing blocks of data as it is being read.

section

Which data set to read. Only applies for a data.ss_new file created by Stock Synthesis. Allows the choice of either expected values (section=2) or bootstrap data (section=3+). Leaving default of section=NULL will read input data, (equivalent to section=1).

See Also

SS_readdat(), SS_readdat_3.30() SS_readstarter(), SS_readforecast(), SS_writestarter(), SS_writeforecast(), SS_writedat()