attribute_bijection {simcdm}R Documentation

Constructs Unique Attribute Pattern Map

Description

Computes the powers of 2 from 00 up to K1K - 1 for KK-dimensional attribute pattern.

Usage

attribute_bijection(K)

Arguments

K

Number of Attributes.

Value

A vec with length KK 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)

[Package simcdm version 0.1.2 Index]