create_group_df_biomass: Create a data frame containing model output of biomass from a...

View source: R/create-group-df-biomass.R

create_group_df_biomassR Documentation

Create a data frame containing model output of biomass from a model list which is in long format ready for ggplot2::ggplot()

Description

Create a data frame containing model output of biomass from a model list which is in long format ready for ggplot2::ggplot()

Usage

create_group_df_biomass(
  model_lst = NULL,
  model_names = NULL,
  rel = FALSE,
  bo_yr = 4,
  ...
)

Arguments

model_lst

A list of models, each created by create_rds_file()

model_names

A vector of model names,the same length as model_lst

rel

Logical. If TRUE return a list of one element, the relative biomass (no B0 element)

bo_yr

The number of years prior to the start of the time series that you want to use as a plot point for B0 on biomass plots.

...

Arguments passed to extract_mcmc_quant()

Value

A list or one or two tibble::tibble(). If rel is TRUE, one (biomass) If rel is FALSE, two (biomass and B0)


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.