rbx_to_flstock: Convert rvk-format to FLStock object

View source: R/rvk_to_converter.R

rbx_to_flstockR Documentation

Convert rvk-format to FLStock object

Description

Converts the rby and rbya to FLStock object.

Usage

rbx_to_flstock(
  rbx,
  sName = "nn",
  sDesc = "none",
  pf = 0,
  pm = 0,
  fage = c(5, 10)
)

Arguments

rbx

A list with two data.frames named rby and rbya.

sName

Character vector containing name of stock

sDesc

Character vectro containing some description

pf

Partial fishing mortality

pm

Partial natural mortality

fage

A vector containing lower and upper fishing mortality reference age

Note

TO DO: check the unit stuff


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