Create a scenario overview with the selected alternatives

scenario_alternative_table(
  scenarioDefinition,
  alternativeLabels,
  decisionOrder = NULL,
  decisionLabels = NULL,
  colNames = c("Decision", "Alternative"),
  caption = NULL,
  returnTableOnly = TRUE
)

Arguments

scenarioDefinition

The `scenarioDefinition` object.

alternativeLabels

The `alternativeLabels` object.

decisionOrder

The vector with the decision identifiers to include (in the right order).

decisionLabels

The named vector with the decision labels.

colNames

The (two) column names to set in the resulting pretty table.

caption

The table caption to pass to [knitr::kable()].

returnTableOnly

Whether to return the table only, or the full object that includes intermediate steps.

Value