Description Usage Arguments Value Examples
Awards higher weights to those attirbutes which consistently showed higher
values, measured against the highest posssible. Secondary function used for
main function weight.highAndStandard
.
1 | highestValue(normalizedMatrix)
|
normalizedMatrix |
a weight vector (numeric vector with a sum of 1)
1 2 3 4 | #Runnable
highestValue(matrix(c(1.0, 0.85, 0.42, 0, 0.5, 0, 1, 0.7), 4, 2))
weights <- highestValue(matrix(c(1.0, 0.85, 0.42, 0, 0.5, 0, 1, 0.7), 2, 4))
sum(weights) should return 1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.