View source: R/extract-area-sex-matrices.R
extract_area_sex_matrices | R Documentation |
Extract the given data frame into a list of matrices by iscam 'area' and 'sex'
extract_area_sex_matrices(data = NULL, prefix = NULL)
data |
A data frame read in from one of the MCMC csv output files |
prefix |
See details |
Extract the data frame given (data) by unflattening into a list of matrices by area-sex and gear. The area-sex number is located in the names of the columns of the data frame in this format: "prefix(areasexnum)_gear(gearnum)_year" where (areasexnum) and (gearnum) are one or more digits and prefix is the string given as an argument to the function.
a list (area-sex) of lists (gears) of matrices, one element per group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.