powered by
Constructs a matrix with all the contrasts for pairwise comparisons.
AllContrasts(n)
an integer number larger than 1 giving the number of contrasts defining the pairwise comparisons pairwise comparisons.
a matrix of dimension n(n-1)/2 x n.
This is an auxiliar function forming a contrast matrix of all possible. Generates an error if n is smaller than 2.
# NOT RUN { AllContrasts(3) # }
Run the code above in your browser using DataLab