getWCGOP_len beta a function to transpose data from the WCGOP into a usable form for SS. returns a table that can be saved/copied into a stock synthesis file. are in the traditional format as from the Observer program
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
lcomps |
a data frame of length-comps from the WCGOP program |
Nsamp |
a vector of # samples. Typically this is N_Unique_trips from the WCGOP data. |
fleet |
a string or vector of strings matching values from column Gear |
fleetno |
optional; fill in any number to the "FltSvy" column of the resultant table; defaults to 1 |
lbin_lo |
minimum bin |
lbin_hi |
maximum bin |
lbin_inc |
increments of bins |
month |
optional; fill in a month into the month column of the resultant table |
sex |
As in SS: # sex codes: 0=combined; 1=use female only; 2=use male only; 3=use both as joint sexxlength distribution |
part |
# partition codes: (0=combined; 1=discard; 2=retained) will be written to table |
writeTable |
logical. if T, requires writeloc |
writeloc |
a filepath to where you want the table saved. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.