# NOT RUN {
data(screen8)
## Do boys and girls have the same variability in math scores?
## Test using vectors
levenetestClust(y=screen8$math, group=screen8$gender, id=screen8$sch.id)
## Test using formula method
levenetestClust(math~gender, id=sch.id, data=screen8)
## Using 10% trimmed mean
levenetestClust(math~gender, id=sch.id, data=screen8, center="mean", trim=.1)
# }
Run the code above in your browser using DataLab