Kuiper.diss: Kuiper dissimilarity

View source: R/dissimilarities.R

Kuiper.dissR Documentation

Kuiper dissimilarity

Description

Returns the Kuiper dissimilarity between two samples

Usage

Kuiper.diss(x, ...)

## Default S3 method:
Kuiper.diss(x, y, ...)

## S3 method for class 'distributional'
Kuiper.diss(x, ...)

Arguments

x

the first sample as a vector

...

optional arguments

y

the second sample as a vector

Value

a scalar value representing the sum of the maximum vertical distances above and below the cumulative distributions of x and y

Examples

data(Namib)
print(Kuiper.diss(Namib$DZ$x[['N1']],Namib$DZ$x[['T8']]))

provenance documentation built on May 29, 2024, 4:23 a.m.