Max difference between binned samples with the same length

max_diff(x, y)

Arguments

x

numeric vector of density from first distribution

y

numeric vector of density from second distribution

...

unused

Value

distance value based on max difference