powered by
Wrapper for cramer.test, for more convenient result printing.
cramer.test
CvM.test(x, y, ...)
a numeric vector of data values.
additional arguments to cramer.test. See help of this function.
test statistics.
p-value of the test.
a character string describing the alternative hypothesis.
a character string indicating the name of the test.
a character string giving the names of the data.
See help of the cramer.test function for more explanations.
# NOT RUN { set.seed(1109) x <- rpois(30,2) y <- rpois(30,3) CvM.test(x,y) # }
Run the code above in your browser using DataLab