Skip to content
Prev 79180 / 398502 Next

Dunn's post hoc test

I think I misunderstood your follow-up question.  Try this:
+ for (j in 1:length(averank)){
+ x[i,j] <- averank[i] - averank[j]
+ }}
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
 [1,]    0  -14  -15  -16  -16  -23  -37  -51  -67   -79
 [2,]   14    0   -1   -2   -2   -9  -23  -37  -53   -65
 [3,]   15    1    0   -1   -1   -8  -22  -36  -52   -64
 [4,]   16    2    1    0    0   -7  -21  -35  -51   -63
 [5,]   16    2    1    0    0   -7  -21  -35  -51   -63
 [6,]   23    9    8    7    7    0  -14  -28  -44   -56
 [7,]   37   23   22   21   21   14    0  -14  -30   -42
 [8,]   51   37   36   35   35   28   14    0  -16   -28
 [9,]   67   53   52   51   51   44   30   16    0   -12
[10,]   79   65   64   63   63   56   42   28   12     0
[1] 15 29 30 31 31 38 52 66 82 94



----- Original Message ----- 
From: "IAIN GALLAGHER" <iaingallagher at btopenworld.com>
To: "Martin Henry H. Stevens" <HStevens at MUOhio.edu>
Cc: <r-help at stat.math.ethz.ch>
Sent: Monday, October 17, 2005 2:29 PM
Subject: Re: [R] Dunn's post hoc test
http://www.R-project.org/posting-guide.html