Skip to contents

Create a table to summarize the configuration of the SS3 model

Usage

table_config(replist, dir = NULL, verbose = TRUE)

Arguments

replist

A list object created by SS_output().

dir

Directory where the .rda files will be written. The default value is NULL where a table folder will be created where the Report.sso file is located associated with replist.

verbose

A logical value specifying if output should be printed to the screen.

Value

Returns invisibly and optionally saves an .rda files containing a list of table and caption

See also

Author

Kelli F. Johnson, Ian G. Taylor

Examples

if (FALSE) { # \dontrun{
# Load the model output
output <- r4ss::SS_output()
# Create the table
table_config(output)

# compare configuration for multiple models
config1 <- table_config(output1)
config2 <- table_config(output2)
table_compare <- data.frame(
  new_model = config1[["table"]],
  old_model = config2[["table"]][["Configuration"]]
)
names(table_compare) <- c("Section", "New model", "Old model")
} # }