powered by
Run coin-flipping like permutation tests (to compare difference of 2 means: 'x1' and 'x2') without any distribution-assumptions. Uses the package coin.
coinPermTest( x1, x2, orient = "two.sided", nPerm = 5000, silent = FALSE, callFrom = NULL )
numeric vector (to be compared with vector 'x2')
numeric vector (to be compared with vector 'x1')
(character) may be "two.sided","greater" or "less"
(integer) number of permutations
(logical) suppress messages
(character) allow easier tracking of messages produced
"MCp" class numeric output with p-values
oneway_test in LocationTests
oneway_test
LocationTests
# NOT RUN { coinPermTest(2, 3, nPerm=500) # }
Run the code above in your browser using DataLab