Hello Thankyou for the help. kruskal.test(Temp, Roof) is simple but just returns one result for the whole temperature dataset organised by roof.
I want to compare the Temp data for each Roof in each Month. So because i have temperature data on the three roofs for 16 different months then i want 16 separate kruskal.test results., How do i do this? Thanks -- View this message in context: http://r.789695.n4.nabble.com/tapply-confusion-tp4641729p4641820.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@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.