Description Usage Arguments Value
View source: R/weigh_estimates_by_profile.R
Weigh estimates by one or more weight profiles
1 2 3 4 5 | weigh_estimates_by_profile(
weighed_estimate_df,
weight_profiles,
weightProfileNames = names(weight_profiles)
)
|
weighed_estimate_df |
A data frame with columns 'scenario_id', 'decision_id', 'alternative_value', 'criterion_id', and 'estimate'. This data frame can be produced by a call to [weigh_estimates_by_profile()]. |
weight_profiles |
The weight profiles: a named list of vectors, where every vector element's value is the weight of a criterion, that element's name is the criterion's identifier, and the vector's name is the identifier of the weight profile. |
weightProfileNames |
The weight profile name(s) to process. |
A data frame with columns 'scenario_id', 'decision_id', 'alternative_value', 'criterion_id', 'estimate', and two columns for every weight profile. These columns' names are the weight profile name appended with '_weight' and '_weighed_estimate'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.