Ranked-score bar chart for a decision-family result
Source:R/plots.R
sframe_plot_decision_ranking.RdThe shared chart for every MCDM ranking method: one horizontal bar per alternative, ordered best first, with the leading alternative picked out. It is generic over the method rather than tied to one, so AHP criterion weights and any ranking method's scores all draw through it. The score column is whatever the method reports as its headline quantity (a closeness coefficient, a net flow, a priority weight), so the axis is labelled from the result rather than hard-coded.
Usage
sframe_plot_decision_ranking(result, palette = c("web", "print"))Arguments
- result
A decision-family result list from
run_analysis_plan(), carrying eitherscoresandalternativesor a rankingtable.- palette
One of
"web"or"print". Seesframe_brand().