attribute_bijection: Constructs Unique Attribute Pattern Map

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RcppExports.R

Description

Computes the powers of 2 from 0 up to K - 1 for K-dimensional attribute pattern.

Usage

1

Arguments

K

Number of Attributes.

Value

A vec with length K detailing the power's of 2.

Author(s)

Steven Andrew Culpepper and James Joseph Balamuta

See Also

simcdm::attribute_inv_bijection()

Examples

1
2
## Construct an attribute bijection ----
biject = attribute_bijection(3)

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