Learn R Programming

rorutadis (version 0.4.2)

plotComprehensiveValue: Plot comprehensive values of altarnatives

Description

This function draws bar chart of comprehensive values of altarnatives.

Usage

plotComprehensiveValue(solution, order = "alternatives", showThresholds = FALSE, title = FALSE)

Arguments

solution
order
Order of alternatives ("alternatives", "asc", "desc").
showThresholds
Whether to print threholds (dashed lines).
title
Title for chart or boolean value whether default title should be used.

Value

Plot.

See Also

findRepresentativeFunction findSimpleFunction investigateUtility plotVF

Examples

Run this code
perf <- matrix(c(5, 2, 1, 7, 0.5, 0.9, 0.4, 0.4), ncol = 2)
problem <- buildProblem(perf, 3, FALSE, c('c', 'g'), c(3, 3))
problem <- addAssignmentsLB(problem, c(1, 2), c(2, 3))

representativeFunction <- findRepresentativeFunction(problem, 0)
plotComprehensiveValue(representativeFunction)

Run the code above in your browser using DataLab