inv_bijectionvector {hmcdm} | R Documentation |
Convert integer to attribute pattern
Description
Based on the bijective relationship between natural numbers and sum of powers of two, convert integer between 0 and 2^K-1 to K-dimensional attribute pattern.
Usage
inv_bijectionvector(K, CL)
Arguments
K |
An |
CL |
An |
Value
A vec
of the K-dimensional attribute pattern corresponding to CL.
Examples
inv_bijectionvector(4,0)
[Package hmcdm version 2.1.1 Index]