This function constructs the 2k * 2k Omega matrix necessary for calulating and updating mELO ratings.
construct_omega(k)
k | Integer defining the complexity of non-transitive interactions to model. |
---|
a matrix
construct_omega(1)#> [,1] [,2] #> [1,] 0 1 #> [2,] -1 0construct_omega(3)#> [,1] [,2] [,3] [,4] [,5] [,6] #> [1,] 0 1 0 0 0 0 #> [2,] -1 0 0 0 0 0 #> [3,] 0 0 0 1 0 0 #> [4,] 0 0 -1 0 0 0 #> [5,] 0 0 0 0 0 1 #> [6,] 0 0 0 0 -1 0