powered by
Estimate the empirical density and return it
getECDF(samples, y_eval = (1:100)/100)
Vector of input values (samples from the distribution)
Vector of points where CDF is evaluated (each percentile by default)
Data.frame with columns 'x', 'y'
# NOT RUN { plot(getECDF(rnorm(1e4))) # }
Run the code above in your browser using DataLab