attribute_inv_gen_bijection: Create the K inverse bijection of attribute vectors

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RcppExports.R

Description

Converts the class into a bijection.

Usage

1

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

Author(s)

James Joseph Balamuta and Steven Andrew Culpepper

See Also

attribute_inv_bijection(), attribute_gen_bijection()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Construct an attribute bijection for M responses ----
inv_biject_ternary = attribute_inv_gen_bijection(5, 3, 2)
inv_biject_ternary

## Binary data
inv_biject_binary = attribute_inv_gen_bijection(5, 2, 4)
inv_biject_binary

## Default binary data
inv_biject_default = attribute_inv_bijection(5, 4)
inv_biject_default

tmsalab/edmcore documentation built on Sept. 4, 2021, 2:46 a.m.