table_decisions: Create a wide decision table for iSCAM models, with all...

View source: R/table-decisions.R

table_decisionsR Documentation

Create a wide decision table for iSCAM models, with all reference points in one table

Description

Produce a decision table for the given iscam model

Usage

table_decisions(
  model,
  format = c("latex", "html"),
  bo_refpts = c(0.2, 0.35, 0.4),
  num_proj_yrs = 3,
  digits = 2,
  ret_df = FALSE,
  col_widths = NULL,
  ...
)

Arguments

model

An iscam model object (class mdl_cls)

format

See format in knitr::kable()

bo_refpts

Vector of proportional values for the reference points

num_proj_yrs

The number of projection years to show in the table. The output may have more but only this many will be shown. If NULL, all projection years will be shown

digits

Number of decimal places for the values in the table

ret_df

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

col_widths

Widths of columns, see kableExtra::column_spec()

...

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.