Aggregate estimates by criterion

aggregate_estimates_by_criterion(
  multiEstimateDf,
  estimateCol,
  criterionId_col = mdmcda::opts$get("criterionId_col"),
  fun = sum,
  ...
)

Arguments

multiEstimateDf

A `multiEstimateDf` data frame.

estimateCol

The column with the estimates to use.

criterionId_col

The columns containing the criterion identifiers.

fun

The function to use to aggregate the scores.

...

Any additional arguments are passed to `fun`.

Value

A data frame with aggregated estimates.