estimateECDF | R Documentation |
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.
estimateECDF(x, npoints = 10)
x |
numeric vector |
npoints |
minimum number of non-missing values |
The histogram cell midpoints values are used to build estimateECDF.
ecdf of numeric vector
x <- sample(1:500, 50, replace=TRUE)
estimateECDF(x, npoints = 15)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.