ks.plot.unif: Plot the ECDF of a uniform sample with Kolmogorov-Smirnov bounds
Description
This plot function takes a univariate sample that should be tested for
a U(0,1) distribution, plots its empirical cumulative distribution
function (ecdf), and adds a confidence band by inverting
the corresponding Kolmogorov-Smirnov test (ks.test). The
uniform distribution is rejected if the ECDF is not completely inside
the confidence band.