Thanks Richard, that works great on the test data, I'll try it out on the full dataset now and let you know how it goes. Thanks a lot! -- View this message in context: http://r.789695.n4.nabble.com/ANOVA-problem-tp4609062p4609400.html Sent from the R help mailing list archive at Nabble.com.