KS.diss: Kolmogorov-Smirnov dissimilarity

View source: R/dissimilarities.R

KS.dissR Documentation

Kolmogorov-Smirnov dissimilarity

Description

Returns the Kolmogorov-Smirnov dissimilarity between two samples

Usage

KS.diss(x, ...)

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

## S3 method for class 'distributional'
KS.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 maximum vertical distance between the two cumulative distributions

Examples

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

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