Learn R Programming

RVAideMemoire (version 0.9-69-3)

CvM.test: Two-sample Cramer-von Mises test

Description

Wrapper for cramer.test, for more convenient result printing.

Usage

CvM.test(x, y, ...)

Arguments

x

a numeric vector of data values.

y

a numeric vector of data values.

additional arguments to cramer.test. See help of this function.

Value

statistic

test statistics.

p.value

p-value of the test.

alternative

a character string describing the alternative hypothesis.

method

a character string indicating the name of the test.

data.name

a character string giving the names of the data.

Details

See help of the cramer.test function for more explanations.

Examples

Run this code
# 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