[R] bartlett.test()

From: hanen <hanen.mastouri_at_yahoo.fr>
Date: Thu, 05 Jun 2008 01:54:31 -0700 (PDT)

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):

this message appears:

>Erreur dans bartlett.test.default(xx) :
  l'argument "g" est manquant, avec aucune valeur par défaut

when i checked the help i have understood that in g i should specified my différent samples in the case that xx is not a list.So i have tried to convert mode's xx in the list by:


this message appears:

>Erreur dans bartlett.test.default(list(xx)) :
  'x' must be a list with at least 2 elements

what should i do?
and if the solution is to use a data frame how can i add the 92 columns'names to such data.frame? because the use of the function names(data.frame)<-list("... and entering 92 words it seems painfull.

 is there any one who can help me now?

please answer me as soon as possible.

View this message in context: http://www.nabble.com/bartlett.test%28%29-tp17665173p17665173.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 05 Jun 2008 - 11:38:34 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 Jun 2008 - 12:30:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive