remp: Draws random values from the ECDF obtained from sample
Description
Based on the empirical cumulative density function as presented by
Chakraborti (2006).
Usage
remp(n, sample)
Arguments
n
integer, number of samples to be drawn
sample
numeric vector of sample values to base the ECDF on
Value
numeric vector of random values drawn from the ECDF
References
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<U+2013>94. https://doi.org/10.1198/004017005000000193