Closed RobinHankin closed 9 months ago
This is good:
x <- replicate(10,equalp.test(ordervec2supp3(rrace3(pn=c(x=10,y=5),ps=c(x=0.5,y=0.5))))$p.value)
If everything works, then pvalues in x
will be unif(0,1)
idiom above takes about 50 seconds to run [that is, 5 seconds per trial] so it takes too long to be in the examples section of an Rd
file.
This is now in inst/rrace3.Rmd
.
title says it all. In base R, under
?wilcoxon.test
, there is an example taken from Hollander & Wolfe (1973) but this includes ties which means thatargs2ordervec()
does not work.