[R] Dunn's post hoc test
iaingallagher at btopenworld.com
Mon Oct 17 10:30:12 CEST 2005
I am rather new to R and I've been trying to implement a function to
carry out the above test. For a couple of days now I've been stuck on
how to generate average rank differences.
Say I have a vector of average ranks:
I would like to subtract averank from averank, averank and
averank from averank and averank, averank and averank
from averank etc (I know the syntax is wrong here... it's just for
illustration) but I can't work out how to do it.
Ideally I would like to generate an array showing the differences
between the average ranks so I could tell at a glance which ones were
greater than my critical value
I've been looking at loops etc but it's a little beyond me at the
moment. Thanks for any suggestions.
More information about the R-help