Skip to content
Prev 275531 / 398506 Next

Performing a non parametric Friedman Test

There is a friedman.test() function. Any reason you want to do it by hand?

If so, you can do:

#Simulated data matrix
x<-matrix(rnorm(9),3,3,byrow=T)
x

#Rank matrix
r<-matrix(rank(x),dim(x))

HTH,
Daniel
JohnnyJames wrote:
--
View this message in context: http://r.789695.n4.nabble.com/Performing-a-non-parametric-Friedman-Test-tp3939045p3939430.html
Sent from the R help mailing list archive at Nabble.com.