gen_bijectionvector function

Generate a vector to map polytomous vector to integers

Generate a vector to map polytomous vector to integers

Converts class into a bijection to integers

gen_bijectionvector(K, M)

Arguments

  • K: Number of Attributes
  • M: Number of Response Categories

Returns

Return a KK-length vector containing the bijection vector.