table_decision: Create a decision table with a single reference point or...

View source: R/table-decision.R

table_decisionR Documentation

Create a decision table with a single reference point or probabilities of biomass declining or increasing

Description

Create a decision table with a single reference point or probabilities of biomass declining or increasing

Usage

table_decision(
  model,
  catch_vals = NULL,
  ret_df = FALSE,
  format = c("latex", "html"),
  bold_header = FALSE,
  ...
)

Arguments

model

An iscam model object (class mdl_cls)

catch_vals

The catch values to include in the table. If NULL, all catch values present in the projections will be used

ret_df

Logical. If TRUE return a data frame with the values, instead of the csasdown::csas_table() formatted table

format

One of "html" or "latex"

bold_header

If TRUE, make the headers bold. This only works if the format is 'html'. If it is 'latex', you must paste latex bold macros around the column headers manually

...

Arguments to be passed to get_proj_biomass_raw(), calc_probs_biomass(), and csas_table()

Value

A csasdown::csas_table()


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