[R] Friedman with post Hoc

arun smartpink111 at yahoo.com
Mon Oct 22 21:18:16 CEST 2012


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 <pedroamarante at gmail.com>
To: r-help at 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 at 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.





More information about the R-help mailing list