Learn R Programming

provenance (version 1.4)

KS.diss: Kolmogorov-Smirnov dissimilarity

Description

Returns the Kolmogorov-Smirnov dissimilarity between two samples

Usage

KS.diss(x, y)

Arguments

x
the first sample as a vector
y
the second sample as a vector

Value

  • a scalar value representing the maximum vertical distance between the two cumulative distributions

Examples

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

Run the code above in your browser using DataLab