Does pairwise.t.test, with paste(group, quiz) as the factor, do what you are looking for? Regards, Mike -- Michael A. Miller mmiller3 at iupui.edu Imaging Sciences, Department of Radiology, IU School of Medicine