SStableComparisons: make table comparing quantities across models

View source: R/SStableComparisons.R

SStableComparisonsR Documentation

make table comparing quantities across models

Description

Creates a table comparing key quantities from multiple models, which is a reduction of the full information in various parts of the list created using the SSsummarize function.

Usage

SStableComparisons(
  summaryoutput,
  models = "all",
  likenames = c("TOTAL", "Survey", "Length_comp", "Age_comp", "priors", "Size_at_age"),
  names = c("Recr_Virgin", "R0", "steep", "NatM", "L_at_Amax", "VonBert_K", "SSB_Virg",
    "Bratio_2021", "SPRratio_2020"),
  digits = NULL,
  modelnames = "default",
  csv = FALSE,
  csvdir = "workingdirectory",
  csvfile = "parameter_comparison_table.csv",
  verbose = TRUE,
  mcmc = FALSE
)

Arguments

summaryoutput

list created by SSsummarize

models

optional subset of the models described in summaryoutput. Either "all" or a vector of numbers indicating columns in summary tables.

likenames

Labels for likelihood values to include, should match substring of labels in summaryoutput[["likelihoods"]].

names

Labels for parameters or derived quantities to include, should match substring of labels in summaryoutput[["pars"]] or summaryoutput[["quants"]].

digits

Optional vector of the number of decimal digits to use in reporting each quantity.

modelnames

optional vector of labels to use as column names. Default is 'model1','model2',etc.

csv

write resulting table to CSV file?

csvdir

directory for optional CSV file

csvfile

filename for CSV file

verbose

report progress to R GUI?

mcmc

summarize MCMC output in table?

Author(s)

Ian Taylor

See Also

SSsummarize(), SSplotComparisons(), SS_output()


r4ss documentation built on May 28, 2022, 1:11 a.m.