[R] one sample Wilcoxon test using 'coin'

Holger Taschenberger Holger.Taschenberger at mpi-bpc.mpg.de
Mon Oct 31 16:12:53 CET 2011


Hi,

R allows me to run a one sample Wilcoxon test like this:
wilcox.test(c(1,3.5,2.1,4,1.5,5), mu=2, exact=TRUE)

The function 'wilcoxsign_test' from the package 'coin' should (I
suppose) be able to calculate exact p values even if there are ties in
the ranks. However, I couldn't find information on how to run a one
sample test using 'wilcoxsign_test' like in the example above.

Can anybody help?

        Thanks,
                Holger



More information about the R-help mailing list