dexi_index {DEXiR} | R Documentation |
dexi_index
Description
Return the index of argument vector vec
in the decision space dim
.
The index is calculated according to DEXi's sorting rules, which are different to R's.
Usage
dexi_index(vec, dim)
Arguments
vec |
Integer vector, representing arguments of some decision rule. |
dim |
Integer vector, representing dimensions of the corresponding decision space.
Assumptions: |
Value
Integer, index of vec
.
Examples
dexi_index(c(1,1,1), c(2,2,3))
dexi_index(c(1,1,2), c(2,2,3))
dexi_index(c(1,2,3), c(2,2,3))
[Package DEXiR version 1.0.2 Index]