estimateECDF {MethylIT}R Documentation

A variant of Empirical Cumulative Distribution Function "ecdf"

Description

This function is used to reduce the number of points used to build a ecdf of an experimental variable. When a variable has a very high amount of experimental values (several millions) could be computationally time consuming to perform a good-of-fit test and a non-linear regression estimation for a theoretical CDF based in such a big number of values.

Usage

estimateECDF(x, npoints = 10)

Arguments

x

numeric vector

npoints

minimum number of non-missing values

Details

The histogram cell midpoints values are used to build estimateECDF.

Value

ecdf of numeric vector

Examples

    x <- sample(1:500, 50, replace=TRUE)
    estimateECDF(x, npoints = 15)


[Package MethylIT version 0.3.1 ]