Hi, ?kruskal.test() a<- c(2,4,5,2,7) b<- c(2,2,6) c<- c(3,7,9,3) kruskal.test(list(a,b,c)) # # Kruskal-Wallis rank sum test # #data: list(a, b, c) #Kruskal-Wallis chi-squared = 2.003, df = 2, p-value = 0.3673 A.K.
Hi I need an expression in R to apply a kruskal.test to this data (for example). a a a a a b b b c c c c 2 4 5 2 7 2 2 6 3 7 9 3 a, b and c could be consider different vectors. How can I apply this test to this data? (probably the data isn't good to this test, but I onlu need the expression). Thank you very much ______________________________________________ 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.