Create a data frame with scores per criteria cluster per scenario

criteriaCluster_df(
  weightedEstimates,
  estimateCol,
  parentCriterionOrder = unique(weightedEstimates$parentCriterion_id),
  parentCriterionLabels = NULL,
  scenarioOrder = unique(weightedEstimates$scenario_id),
  scenarioLabels = NULL,
  sortByScore = FALSE,
  decreasing = TRUE
)

Arguments

weightedEstimates

A `weightedEstimates` object.

estimateCol

The column name with the estimates to use.

parentCriterionOrder

The parent criteria to include.

parentCriterionLabels

The labels for the parent criteria.

scenarioOrder

The scenarios to include.

scenarioLabels

The labels for the scenarios.

sortByScore, decreasing

Whether to sort the scenarios by their total scores, and if so, whether to sort them in decreasing order (from the left side) or in increasing order.

Value

A data frame.