HI, Have u tried the example in the link (http://stat.ethz.ch/R-manual/R-patched/library/stats/html/friedman.test.html).
It is working for me. wb <- aggregate(warpbreaks$breaks, by = list(w = warpbreaks$wool, t = warpbreaks$tension), FUN = mean) friedman.test(x ~ w | t, data = wb) # Friedman rank sum test #data: x and w and t #Friedman chi-squared = 0.3333, df = 1, p-value = 0.5637 A.K. ----- Original Message ----- From: pedro amarante <pedroamara...@gmail.com> To: r-help@r-project.org Cc: Sent: Monday, October 22, 2012 8:41 AM Subject: [R] Friedman with post Hoc Hello everyone, I have been trying to perform a Friedman test for a while with no success. I have tried the command: > friedman.test (y~A|B, data = mydata), but it doesn't work . I searched youtube for help, but still could not find much. Can anyone help me with that! Thank you very much, Pedro [[alternative HTML version deleted]] ______________________________________________ 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. ______________________________________________ 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.