Description Usage Arguments Value See Also Examples
View source: R/postFactumAnalysis.R
This function calculates missing value of an alternative utility for that alternative to be possibly (or necessarily) assigned to at least some specific class.
1 | investigateUtility(alternative, atLeastToClass, necessary, problem)
|
alternative |
An alternative index. |
atLeastToClass |
An assignment to investigate. |
necessary |
Whether necessary or possible assignment is considered. |
problem |
Problem for investigation. |
List with named elements:
ux
- value of missing utility,
solution
- result of solving model. It can be used for further
computations (getAssignments
, getThresholds
, getMarginalUtilities
,
getCharacteristicPoints
).
NULL
is returned if given assignment is not possible.
getMarginalUtilities
getCharacteristicPoints
getThresholds
improveAssignment
1 2 3 4 5 | perf <- matrix(c(8, 2, 1, 7, 0.5, 0.9, 0.4, 0.5), ncol = 2)
problem <- buildProblem(perf, 3, FALSE, c('g', 'g'), c(0, 0))
problem <- addAssignmentsUB(problem, c(1, 2), c(2, 3))
result <- investigateUtility(4, 3, FALSE, problem)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.