?bartlett.test
>From the help page "If x is a list, its elements are taken as the
samples or fitted linear models to be compared for homogeneity of variances. In
this case, the elements must either all be numeric data vectors or fitted linear
model objects, g is ignored, and one can simply use bartlett.test(x) to perform
the test. If the samples are not yet contained in a list, use
bartlett.test(list(x, ...)).
Otherwise, x must be a numeric data vector, and g must be a vector or factor
object of the same length as x giving the group for the corresponding elements
of x. "
Patrick
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Amit Patel
Sent: Monday, March 01, 2010 9:26 AM
To: r-help at r-project.org
Subject: [R] Bartlett Test
Hi
I am trying to conduct a Bartlett test between two groups Samp 1 and Samp 2,
both of which are vectors of equal length. I cant find any information on how to
do this. Does the data need to be in a structured list.
Thanks in advance
______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
The information transmitted is intended only for the per...{{dropped:8}}