plotComprehensiveValue: Plot comprehensive values of altarnatives

Description Usage Arguments Value See Also Examples

Description

This function draws bar chart of comprehensive values of altarnatives.

Usage

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

Arguments

solution

Solution to plot (e.g. result of findRepresentativeFunction, findSimpleFunction or investigateUtility).

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

1
2
3
4
5
6
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)

kciomek/rorutadis documentation built on May 20, 2019, 8:16 a.m.