contr.tuk {spANOVA} | R Documentation |
Compute Tukey's contrast matrix
contr.tuk(x)
x |
a vector of means. |
Computes the matrix of contrasts for comparisons of mean levels.
The matrix of contrasts with treatments in row names is returned
x <- c(10, 5, 8, 4, 12, 18)
contr.tuk(x)