Fasano_2D_dvals: Calculate D-values for a Two-dimensional Kolmogorov-Smirnov...

Description Usage Arguments Value Examples

View source: R/Fasano_2D_dvals.R

Description

Find D-values of observations for a two-dimensional Kolmogorov-Smirnov test as defined by Fasano and Franceschini (1987).

Usage

1
Fasano_2D_dvals(xcol, ycol)

Arguments

xcol

a vector of x values

ycol

a vector of y values

Value

The D-values for each pair of observations as a vector

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
xcol <- rnorm(10)
ycol <- rnorm(10)

Fasano_2D_dvals(xcol, ycol)

## Not run: 
xcol <- rnorm(10)
ycol <- rnorm(5)

Fasano_2D_dvals(xcol, ycol)

## End(Not run)

kaitlynstrickfaden/FasanoMDKS documentation built on Dec. 21, 2021, 5:16 a.m.