Description Usage Arguments Value
View source: R/scores_by_scenario.R
Get the aggregated scores for each scenario
1 | scores_by_scenario(weighedEstimates, estimateCols, fun = sum, ...)
|
weighedEstimates |
The 'weighedEstimates' object as created by [mdmcda::build_weighed_estimate_df()] and filled with the desired weighed estimates by [mdmcda::weigh_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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.