attribute_bijection: Constructs Unique Attribute Pattern Map

View source: R/RcppExports.R

attribute_bijectionR Documentation

Constructs Unique Attribute Pattern Map

Description

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

Usage

attribute_bijection(K)

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

attribute_inv_bijection()

Examples

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

simcdm documentation built on May 29, 2024, 2:09 a.m.