construct.design.matrix.both.ways {speedyBBT} | R Documentation |
Construct the Bradley–Terry design matrix for ties This is the design matrix for tied comparisons. Each permutation (rather than combination) is featured, i.e. both (i, j) and (j, i).
construct.design.matrix.both.ways(n.objects)
n.objects |
the number of objects |
design matrix X
#design matrix with 3 objects
X <- construct.design.matrix.both.ways(3)