SS_readwtatage: Read weight-at-age data file

Description Usage Arguments Value

View source: R/SS_readwtatage.R

Description

Read in a weight-at-age data file into a data frame in R.

Usage

1
SS_readwtatage(file = "wtatage.ss", verbose = TRUE)

Arguments

file

A relative or full path to the weight-at-age file. The default values is wtatage.ss.

verbose

A logical value specifying if output should be printed to the screen. The default is verbose = TRUE.

Value

Returns a data frame with a variable number of columns based on the number of ages that are included in the file. Though, the first columns will always be Yr, Seas, Sex, Bio_Pattern, BirthSeas, and Fleet. The seventh column will be age zero. The last or next to last column will be the maximum age included in the weight-at-age data. For SS version 3.30 and greater, the last column will be a column of comments.


r4ss documentation built on Oct. 30, 2019, 11:25 a.m.