I have not used this function, but I think that you will find the reason for the differences by comparing the help files for the fligner.test and t.test. When 2 terms are use in the fligner.test (x, and g), x is a numeric vector of data values, or a list of numeric data vectors, and g is a vector or factor object giving the group for the corresponding elements of x. Whereas the function parameters for the t.test (x and y) are both numeric vectors of data values.





Reply With Quote

