KS.diss: Kolmogorov-Smirnov dissimilarity

Description Usage Arguments Value Examples

View source: R/toolbox.R

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']]))

provenance documentation built on May 29, 2017, 7:46 p.m.