Skip to contents

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