Creates a random Q matrix containing three identity matrices after row permutation
random_Q(J, K)A dichotomous matrix for Q.
random_Q(15,4)
#> [,1] [,2] [,3] [,4]
#> [1,] 0 0 0 1
#> [2,] 0 1 0 0
#> [3,] 1 0 0 0
#> [4,] 1 0 0 1
#> [5,] 0 0 1 1
#> [6,] 0 0 1 0
#> [7,] 0 1 0 0
#> [8,] 0 0 1 0
#> [9,] 0 0 1 0
#> [10,] 0 0 0 1
#> [11,] 1 0 0 0
#> [12,] 0 1 0 0
#> [13,] 1 0 0 0
#> [14,] 0 0 0 1
#> [15,] 1 0 1 0