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).

Description

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).

Usage

construct.design.matrix.both.ways(n.objects)

Arguments

n.objects

the number of objects

Value

design matrix X

Examples


#design matrix with 3 objects

X <- construct.design.matrix.both.ways(3)


[Package speedyBBT version 1.0 Index]