Description Usage Arguments Value Author(s)
The function is used to write srest.dat to the disk. That file
is an input to the srest
-model coded in ADMB by Jose Olivera.
1 | mac_srest_cat(name_stock, y1, y2, aR, aP, opt_sr_model, opt_pen, r, ssb, year)
|
name_stock |
Name of the stock. May later down the line be used in table and plot outputs |
y1 |
First year of ssb and recruitment data |
y2 |
Last year of ssb and recruitment data |
aR |
Recruitment age |
aP |
Plus group age |
opt_sr_model |
Recruitment model number (1: Ricker, 2: Beverton-Holt, 3: Segmented regression). |
opt_pen |
0=no SR constraints, 1=apply SR constrain (IS THIS ONLY FOR THE SEGMENTED REGRESSION??). |
r |
A vector containing recruitment |
ssb |
A vector containing spawning stock biomass |
year |
A vector containg years (just used in comments) |
A file named srest.dat
in the current working directory
Einar Hjorleifsson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.