Learn R Programming

r4ss (version 1.44.0)

SS_readforecast: read forecast file

Description

read Stock Synthesis forecast file into list object in R

Usage

SS_readforecast(
  file = "forecast.ss",
  Nfleets = NULL,
  Nareas = NULL,
  nseas = NULL,
  version = "3.30",
  readAll = FALSE,
  verbose = TRUE
)

Arguments

file

Filename either with full path or relative to working directory.

See the formal arguments for a possible default filename.

Nfleets

Number of fleets (not required in 3.30).

Nareas

Number of areas (not required in 3.30).

nseas

number of seasons (not required in 3.30).

version

SS version number. Currently "3.24" or "3.30" are supported, either as character or numeric values (noting that numeric 3.30 = 3.3). version = NULL is no longer the default or an allowed entry. The default is version = "3.30".

readAll

Should the function continue even if Forecast = 0 or -1 (at which point SS stops reading)?

verbose

Should there be verbose output while running the file?

See Also

SS_readstarter(), SS_readdat(), SS_writestarter(), SS_writeforecast(), SS_writedat(),