attribute_inv_bijection: Perform an Inverse Bijection of an Integer to Attribute...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RcppExports.R

Description

Convert an integer between 0 and 2^{K-1} to K-dimensional attribute pattern.

Usage

1

Arguments

K

Number of Attributes.

CL

An integer between 0 and 2^{K-1}

Value

A K-dimensional vector with an attribute pattern corresponding to CL.

Author(s)

Steven Andrew Culpepper and James Joseph Balamuta

See Also

simcdm::attribute_bijection()

Examples

1
2
3
## Construct an attribute inversion bijection ----
inv_biject1 = attribute_inv_bijection(5, 1)
inv_biject2 = attribute_inv_bijection(5, 2)

simcdm documentation built on May 2, 2019, 9:09 a.m.