Compute the scores per alternative

compute_scores_per_alternative(
  multiEstimateDf,
  weightProfiles,
  silent = FALSE,
  setMissingEstimates = 0,
  warnForMissingEstimates = !silent
)

Arguments

multiEstimateDf

A `multiEstimateDf` that must contain the columns specified in the `mdmcda` options `decisionId_col`, `alternativeValue_col` (see [mdmcda::opts], and for each weight profile in `weightProfiles`, its name appended with '`_weighted_estimate`'.

weightProfiles

A `weightProfiles` object.

silent

Whether to suppress messages.

setMissingEstimates

What to set missing estimates to.

warnForMissingEstimates

Whether to warn when encountering missing estimates.

Value

A data frame.