Kolmogorov-Smirnov dissimilarity

Description

Returns the Kolmogorov-Smirnov dissimilarity between two samples

Usage

1
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

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.