sam_rbya: sam_rbya

sam_rbyaR Documentation

sam_rbya

Description

Extracts stock in numbers (Nay) and fishing mortality (Fay) at age from object "sam". If a tibble ibya (e.g. generated by sam_ibya is included in the argument, these estimates get added to that tibble.

Usage

sam_rbya(fit, data = TRUE, scale = 1, long = TRUE, run)

Arguments

fit

A "sam" object

data

A boolean (default TRUE) specifying if input data should also be returned.

scale

A scaler (default 1)

long

A boolean indicating if returned table wide (default TRUE) variables as names within column 'var'. Alternative (FALSE) not yet active.

run

Name of the run

Value

A tibble, containing at minimum:

  • year:

  • age:

  • n: stock in numbers

  • f: fishing mortality


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