flstock_to_rbya: Converts FLStock object to rbya

View source: R/converter.R

flstock_to_rbyaR Documentation

Converts FLStock object to rbya

Description

The rbya (results by year and age) is a long data.frame popular in Reykjavik

Usage

flstock_to_rbya(x, scale = 1, project = TRUE, plusgroup = TRUE)

Arguments

x

An FLStock object

scale

scaler used on abundance values (stock in numbers, catches etc)

project

A boolean, if TRUE (default), propagates terminal stock numbers forward by one year (into the assessment year). Note that the weights in the assessment year are the same as in the terminal year.

plusgroup

A boolean, if TRUE (default), last age group is a plus group. Only used if project is TRUE.


einarhjorleifsson/fishvice documentation built on Jan. 4, 2024, 8:43 p.m.