Skip to contents

This function processes the output of a certain model (possibly related to fisheries) to extract, compute, and format various metrics.

Usage

get_vars(M, proj_file = NULL)

Arguments

M

A list or data structure that holds the model output/results. Expected to have several named elements, including fit, R, SSB, etc.

proj_file

(Optional) A file path to a projection file for Tier 3 results. Default is NULL.

Value

A list B that contains various extracted and computed metrics.

Examples

if (FALSE) { # \dontrun{
model_result <- list(...) # Example model result here
metrics <- get_vars(model_result)
} # }