contr.tuk {spANOVA} | R Documentation |
Tukey's contrast matrix
Description
Compute Tukey's contrast matrix
Usage
contr.tuk(x)
Arguments
x |
a vector of means. |
Details
Computes the matrix of contrasts for comparisons of mean levels.
Value
The matrix of contrasts with treatments in row names is returned
Examples
x <- c(10, 5, 8, 4, 12, 18)
contr.tuk(x)
[Package spANOVA version 0.99.4 Index]