calc_mcmc: Return a list of mcmc calculations, e.g. quantiles for...

View source: R/utils-calc-mcmc.R

calc_mcmcR Documentation

Return a list of mcmc calculations, e.g. quantiles for various values

Description

Return a list of mcmc calculations, e.g. quantiles for various values

Usage

calc_mcmc(mcmc, biomass_scale = 1e+06, recr_scale = 1e+06, ...)

Arguments

mcmc

The output of the r4ss::SSgetMCMC() function as a data.frame

biomass_scale

A scale factor to divide biomass values by

recr_scale

A scale factor to divide recruitment values by

...

Absorbs arguments meant for other functions

Details

The values calculated in this function are used in the tables and plots in the hake document. If a new value is needed, add that calculation here and re-run the create_rds_file() function to re-build the RDS file for the model.

Value

A named list of MCMC outputs


pacific-hake/hake-assessment documentation built on July 21, 2024, 8:19 a.m.