process_age_sea | R Documentation |
Process age data from the Pacific Hake U.S. at-sea fishery
process_age_sea(
atsea.ages = get_local(file = "nages.Rdat"),
ncatch = get_local(file = "ncatch.Rdat"),
years = 2008:hake::get_data_yr(),
ages = 1:15,
files = fs::path(hakedata_wd(), glue::glue("us-{c('cp', 'ms')}-age-proportions.csv")),
write = TRUE
)
atsea.ages |
An R object with NORPAC ages. The default value is |
ncatch |
An R object of NORPAC catches. The default value is loaded from
the disk using |
years |
A vector of integers specifying the years of data that you wish to process. Typically all years prior to 2008 are left static despite updates to the data. |
ages |
A vector of ages to be included in the composition data. The default is to include ages from one to fifteen. |
files |
File paths to the exported csv files. Must have lower case
|
write |
A logical specifying if the data should be written to the disk.
The default is |
A list object with summary information regrading the composition data. Multiple files are saved to the disk as well. These saved files include summary information in ...report.txt files and comps.csv files.
Kelli F. Johnson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.