read_rbya: Reads results-by-year-and-age

Description Usage Arguments Examples

Description

XXX

Usage

1
2
3
read_rbya(file, format = "rvk", cn = c("xx"), info = FALSE,
  name_stock = NA, yAss = NA, aR = NA, aP = NA, aF = c(NA, NA),
  pM = rep(0.25, 14), pF = rep(0.1, 14), Run = NA, Model = NA)

Arguments

file

If it does not contain an absolute path, the file name is relative to the current working directory, getwd().

format

Character specifying the origin of the input file. So far implemented "rvk" and "abd" format.

cn

Names of columns to return for "rvk" format.

info

boolean If FALSE (default) only data.frame with XXX returned. If TRUE a list containing the data.frame and a list containing the additional information is returned. See return for additional XXX.

name_stock

character. Stock name.

yAss

integer. Assessment year

aR

integer. Age of recruitment.

aP

integer. Plus group age

aF

vector. Elements contain youngest and oldest age used to calculate the reference fishing mortality.

pM

XXX

pF

XXX

Run

Run name (spring survey, fall survey, both surveys, etc ..)

Model

Model name (Adcam, Adapt, Separable, etc ..)

Examples

1
2
file <- paste(path.package("fishvise"),'extdata/resultsbyyearandage',sep='/')
read_rbya(file)

einarhjorleifsson/fishvise documentation built on May 16, 2019, 1:26 a.m.