aggregate_estimates_by_criterion: Aggregate estimates by criterion

Description Usage Arguments Value

View source: R/aggregate_estimates_by_criterion.R

Description

Aggregate estimates by criterion

Usage

1
2
3
4
5
6
7
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.


Matherion/mdmcda documentation built on Dec. 31, 2020, 3:13 p.m.