# load stodom
require(stodom)
data_a <- rnorm(500, 3, 2)
data_b <- rnorm(500, 1, 2)
# compute the values of two ecdfs and their cumulative differences.
ecdf_dat_g(data_1 = data_a, data_2 = data_b, bins_size = 1)
Run the code above in your browser using DataLab