Description Usage Arguments Value Examples
Extract parameters from the biological parameter file and transform them to a dataframe.
1 2 3 | prm_to_df(prm_biol, fgs, group, parameter)
prm_to_df_ages(prm_biol, fgs, group, parameter)
|
prm_biol |
Character string giving the connection to the biological parameterfile.
The filename usually contains |
fgs |
Character string giving the connection to the functional groups file.
The filename usually contains |
group |
Character vector giving the functional Groups to extract. |
parameter |
Character vector giving the parameters to extract. |
Dataframe with columns 'species' and as many columns as parameters.
1 2 3 4 5 6 7 8 | 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")
group <- c("FPS", "FVS")
parameter <- c("mum", "C")
prm_to_df_ages(prm_biol, fgs, group, parameter)
prm_to_df(prm_biol, fgs, group, parameter)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.