ecdf_dat_g {stodom} | R Documentation |
values of two ecdf and their cumulative difference
Description
This function computes the values of two empirical cumulative distribution function as well as their cumulative differences.
Usage
ecdf_dat_g(data_1, data_2, bins_size)
Arguments
data_1 |
data 1. |
data_2 |
data 2. |
bins_size |
bin size. |
Details
This function computes the values of two empirical cumulative distribution function as well as their cumulative differences.
Value
The function returns a data table.
Examples
# 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)
[Package stodom version 0.0.1 Index]