Description Usage Arguments Value References Examples
View source: R/empirical_cdf.R
Based on the empirical cumulative density function as presented by Chakraborti (2006).
1 |
n |
integer, number of samples to be drawn |
sample |
numeric vector of sample values to base the ECDF on |
numeric vector of random values drawn from the ECDF
Chakraborti, S., Hong, B., & Van De Wiel, M. A. (2006). A note on sample size determination for a nonparametric test of location. Technometrics, 48(1), 88–94. https://doi.org/10.1198/004017005000000193
1 2 | x <- 1:5
remp(10, x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.