AllContrasts {postHoc} | R Documentation |
Constructs a matrix with all the contrasts for pairwise comparisons.
AllContrasts(n)
n |
an integer number larger than 1 giving the number of contrasts defining the pairwise comparisons pairwise comparisons. |
This is an auxiliar function forming a contrast matrix of all possible. Generates an error if n is smaller than 2.
a matrix of dimension n(n-1)/2 x n.
Rodrigo Labouriau
AllContrasts(3)