powered by
Type stable implementation of an Empirical Cumulative Distribution Function (ECDF) sampler.
recdf(x, n)
vector of n elements of the same type as x
n
x
numeric vector
number of draws
ecdf
recdf(1:5, 10)
Run the code above in your browser using DataLab