table_ts_values_mcmc: Create a table of time series estimates for MCMC iSCAM models

View source: R/table-ts-values.R

table_ts_values_mcmcR Documentation

Create a table of time series estimates for MCMC iSCAM models

Description

Make a table of medians and/or credible intervals for values such as biomass, recruitment, depletion, and fishing mortality

Usage

table_ts_values_mcmc(
  models,
  model_desc = NULL,
  value = c("sbt", "rt", "ft", "ut", "depl"),
  start_yr = NULL,
  digits = 2,
  probs = c(0.025, 0.5, 0.975),
  model_col_widths = NULL,
  bold_headers = TRUE,
  ...
)

Arguments

models

A list of iscam model objects (class mdl_lst_cls)

model_desc

A description for the models to be shown in multicolumn headings in the table (if more than one model only). If NULL, names will be created (Model 1, Model 2, etc.)

value

An output value to produce the table for. Can be 'sbt' (spawning biomass), 'rt' (recruitment), 'ft' (fishing mortality), 'ut' (exploitation rate), or 'depl' (depletion)

start_yr

Year to start the table with. If NULL, all years will be included

digits

Number of decimal places for the values in the table

probs

A 3-element vector of probabilities that appear in the output data frames. This is provided in case the data frames have more than three different quantile levels

model_col_widths

Widths for columns, except the Parameter column

bold_headers

If TRUE, make all column headers bold

...

Arguments to pass to csasdown::csas_table()

Value

A csasdown::csas_table()


pbs-assess/gfiscamutils documentation built on Oct. 24, 2024, 1:37 p.m.