tes: A two-sample Cramer-von Mises test using R

Description Usage Arguments Value Examples

View source: R/tes.R

Description

Implement the two-sample Cramer-von Mises test for equal distributions as a permutation test.

Usage

1
tes(x, y)

Arguments

X

The data under an certain distribution

Y

The data under an certain distribution

Value

the test chart

Examples

1
2
3
4
5
6
## Not run: 
attach(chickwts)
x <- sort(as.vector(weight[feed == "soybean"]))
y <- sort(as.vector(weight[feed == "linseed"]))

## End(Not run)

th12th12/StatComp17085 documentation built on May 5, 2019, 11:08 p.m.