scores_by_scenario.Rd
Get the aggregated scores for each scenario
scores_by_scenario(weightedEstimates, estimateCols, fun = sum, ...)
weightedEstimates | The `weightedEstimates` object as created by [mdmcda::build_weighted_estimate_df()] and filled with the desired weighted estimates by [mdmcda::weight_estimates_by_profile()]. |
---|---|
estimateCols | The column name(s) of the estimates to aggregate using function `fun` |
fun | The function to use for the aggregation. |
... | Additional arguments are passed to `fun`. |
A data frame with the scenario identifiers and the aggregated scores.