Converts the class into a bijection.

attribute_inv_gen_bijection(K, M, CL)

Arguments

K

Number of Attributes

M

Number of Options.

CL

Class Number from 0 to (2^K)-1.

Value

Return a matrix containing the class table

See also

Author

James Joseph Balamuta and Steven Andrew Culpepper

Examples

## Construct an attribute bijection for M responses ---- inv_biject_ternary = attribute_inv_gen_bijection(5, 3, 2) inv_biject_ternary
#> [,1] #> [1,] 0 #> [2,] 0 #> [3,] 0 #> [4,] 0 #> [5,] 2
## Binary data inv_biject_binary = attribute_inv_gen_bijection(5, 2, 4) inv_biject_binary
#> [,1] #> [1,] 0 #> [2,] 0 #> [3,] 1 #> [4,] 0 #> [5,] 0
## Default binary data inv_biject_default = attribute_inv_bijection(5, 4) inv_biject_default
#> [,1] #> [1,] 0 #> [2,] 0 #> [3,] 1 #> [4,] 0 #> [5,] 0