Learn R Programming

provenance (version 4.4)

Kuiper.diss: Kuiper dissimilarity

Description

Returns the Kuiper dissimilarity between two samples

Usage

Kuiper.diss(x, ...)

# S3 method for default Kuiper.diss(x, y, ...)

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

Value

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

Arguments

x

the first sample as a vector

...

optional arguments

y

the second sample as a vector

Examples

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

Run the code above in your browser using DataLab