Hello!

    I need to use Kruskal-Wallis test and post-hoc test (Dunn's test) for my 
data. But when I searched around, I only found this function: kruskal.test. But 
nothing for Dunn's test.

    So I started to write one myself.  But  I do not know how to count ties in 
the data frame. I can use for loops but it seems long and unnecessary since the 
rank function actually knows the ties. So can anyone give me a hint on how I 
can "count" the number of ties?

    Many thanks.

        [[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.

Reply via email to