Description Usage Arguments Details Value Author(s) See Also Examples
Creates a general bijection vector.
1 | attribute_gen_bijection(K, M)
|
K |
Number of Attributes |
M |
Number of Responses |
The bijection vector generated is \mathbf v = (M^{K-1},M^{K-2}, …, 1)^\top.
A vec
with length K detailing the power's of M.
Steven Andrew Culpepper and James Joseph Balamuta
attribute_inv_gen_bijection()
and attribute_bijection()
1 2 3 4 5 6 7 8 9 10 11 | ## Construct an attribute bijection for M responses ----
biject_ternary = attribute_gen_bijection(5, 3)
biject_ternary
## Construct an attribute bijection for binary responses ----
biject_binary = attribute_gen_bijection(5, 2)
biject_binary
## Construct an attribute bijection for binary responses ----
biject_default = attribute_bijection(5)
biject_default
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.