Description Usage Arguments Value Examples
Combine ageclasses to juvenile and adult stanza according to age at maturity.
1 | combine_ages(data, grp_col, agemat, value_col = "atoutput")
|
data |
Dataframe with ageclass specific information. |
grp_col |
Character string giving the name of the group column in |
agemat |
First mature age class for age structured groups. This dataframe should
be generated with |
value_col |
Character string giving the name of the column to sum.
Default is |
Dataframe with ageclasses combined to stanzas.
1 2 3 4 5 6 7 8 9 | d <- system.file("extdata", "setas-model-new-trunk", package = "atlantistools")
prm_biol <- file.path(d, "VMPA_setas_biol_fishing_Trunk.prm")
fgs <- file.path(d, "SETasGroupsDem_NoCep.csv")
agemat <- prm_to_df(prm_biol = prm_biol, fgs = fgs,
group = get_age_acronyms(fgs = fgs),
parameter = "age_mat")
combine_ages(ref_nums, grp_col = "species", agemat = agemat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.