a matrix of contrast coefficients. Separate rows of the matrix contain the contrast coefficients for that particular contrast, and a column for level of the factor.
fit
output from the command "lm()".
row
if T, and the ANOVA is two-way, then contrasts in the row effects are printed, otherwise contrasts in the column effects are printed. Ignored if the ANOVA is one-way.
alpha
the nominal error rate for the multiple confidence intervals.
L
number of contrasts. If NULL, L will be set to the number of rows in the contrast matrix, otherwise L will be as specified.
Value
Returns a matrix whose rows correspond to the different contrasts being estimated and whose columns correspond to the point estimate of the contrast, the Tukey lower and upper limits of the confidence interval, the unadjusted p-value, the Tukey and Bonferroni p-values.