Re: [R] bartlett.test()

2008-06-05 Thread S Ellison
>>> Birgitle <[EMAIL PROTECTED]> 05/06/2008 10:33:20 >>> >I think you should specify your grouping factor: Yes, the message says the grouping factor is missing. But xx should not be a matrix. Your x data should be in a (1-dimensional) vector of length 276, and so should your grouping factor.

[R] bartlett.test()

2008-06-05 Thread hanen
i'm trying to test the homogeneity of variance of 92 samples each one contains 3 observations. to use bartlett.test function i have created a (3,92) matrix (named xx): >bartlett.test(xx) this message appears: >Erreur dans bartlett.test.default(xx) : l'argument "g" est manquant, avec aucune va

Re: [R] bartlett.test()

2008-06-05 Thread Birgitle
I think you should specify your grouping factor: g a vector or factor object giving the group for the corresponding elements of x. Ignored if x is a list. batlett.test(xx, groupingfactor) Hope this helps. Birgit hanen wrote: > > i'm trying to test the homogeneity of variance of 92 samples