new_sID: Generate a new stock ID object

Description Usage Arguments Details Value Examples

View source: R/catchMSY_stockID.R

Description

Generates a template sID object for new assessments.

Usage

1
2
3
4
new_sID(id = "Stock Label", age = 1:10, linf = 100, winf = 5,
  vbk = 0.2, to = 0, a = 5e-06, b = 3, ah = 2, gh = 0.2, m = 0.2,
  fmsy = 0.15, msy = 1, binwidth = 1, la.cv = 0.1, sigma_r = 0,
  smodel = "logistic", dfile = "")

Arguments

id

Name of Stock

age

A vector of integer ages where the terminal age is a plus group.

linf

Asymptotic length for von Bertalanffy growth

winf

Asymptotic weight.

vbk

von Bertalanffy growth coefficient.

to

theoretical age at 0 length (years).

a

allometric scaler in length-weight relationship w = a L ^b

b

allometric power parameter in length-weight relationship

ah

age at 50% maturity

gh

standard deviation in age at 50% maturity

m

natural mortality

fmsy

fishing mortality at maximum sustainable yield

msy

maximum sustainable yield

binwidth

bin width for length composition data

la.cv

coefficient of variation for length-at-age curve

sigma_r

standard deviation for recruitment variation

smodel

"logistic" to specify logistic selectivity curve, "dome" to specify dome-shaped selectivity curve

dfile

Name of file containing time series data

Details

This function returns a list object containing all the necessary information to run the catchMSY routines. Column headings are: year catch biomass biomass.lse index index.lse

Value

A template for a stock class object.

Examples

1
2
myStock <- new_sID()
names(myStock)

smartell/CatchMSY documentation built on May 30, 2019, 3:07 a.m.