load_extra_mcmc_atage: Load at-age data chunks from a list of report file output,...

View source: R/load-extra-mcmc-atage.R

load_extra_mcmc_atageR Documentation

Load at-age data chunks from a list of report file output, and calculate the medians at-age by year

Description

Load at-age data chunks from a list of report file output, and calculate the medians at-age by year

Usage

load_extra_mcmc_atage(
  reps,
  verbose = TRUE,
  txt = "output",
  scale = 1,
  start_yr = NULL,
  end_yr = NULL,
  ...
)

Arguments

reps

A list of vectors representing one element per report file

verbose

Logical. Show messages

txt

Text to write to the screen while processing

scale

Value to divide the values by in the output table

start_yr

Filter years earlier than this out of the results. If NULL, no filtering will occur for the start year

end_yr

Filter years greater than this out of the results. If NULL, no filtering will occur for the end year

...

Absorbs arguments meant for other functions

Value

A list with one element being the data frame of values by year with every posterior included (atage) and the other being a much smaller data frame containing the median across posteriors by year for the values (med)


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