View source: R/get_biomass_data.R
get_biomass_data | R Documentation |
get_biomass_data
can be used to extract biomass data from .rdat
model outputs. This can be used to extract data from a single model, multiple
models, or calculate the sum of biomass by grouping parameters.
get_biomass_data(dat, grouping = c("year"), cumulative = FALSE, pounds = TRUE)
dat |
A list of rdat files containing model outputs. |
grouping |
Grouping parameters. This determines which groups will be
used to sum biomass if cumulative = TRUE. Options include |
cumulative |
TRUE of FALSE(default). If TRUE, the sum of biomass will
be calculate by |
pounds |
TRUE or FALSE. If TRUE, converts from kg's to pounds. |
wide |
TRUE or FALSE. If TRUE, output the data in wide format |
A tibble
get_biomass_data(list(trout1)) get_biomass_data(list(trout1,trout2),grouping = c("data_type","mu"), cumulative = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.