This takes simulated data from the operating model pop dynamics and adds it in the correct format to the .dat file for SS.
1 2 3 4 5 6 7 8 9 10 11 | dat.update(
year,
dat.list,
dat.,
agecomp.list,
I,
.datcatch,
comp.I = NULL,
dir.,
write = T
)
|
year |
last year in sequence of new data |
dat.list |
list that has the sequence of years |
dat. |
data file that needs to be updated |
agecomp.list |
simulated age comps from catch |
I |
simulated indices of abundance for each fleet. Default is NULL and competition index will not be included in assessment. |
.datcatch |
A dataframe with the catch for each fishing fleet in the correct units (biomass and numbers) |
comp.I |
index of red snapper abundance, a measure of competition |
dir. |
directory of where to read and write new files from/to |
write |
default set to TRUE, if FALSE, new .dat file will not be saved (won't overwrite the old file) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.