Returns sum of square and its F value and p-value.
Df
degree of freedom
Sum Sq
sum of square for the set of contrasts
Mean Sq
mean square
F value
F value for the F distribution
Pr(>F)
proability of larger than F value
Arguments
L
contrast matrix. Each row is a contrast.
Formula
a conventional formula for a linear model
Data
a data.frame to be analyzed
mu
a vector of mu for the hypothesis L. The length should be equal to the row count of L.
Author
Kyun-Seop Bae k@acr.kr
Details
It performs F test with a given set of contrasts (a matrix). It is similar to the CONTRAST clause of SAS PROC GLM. This can test the hypothesis that the linear combination (function)'s mean vector is mu.