getECDF | R Documentation |
Estimate the empirical density and return it
getECDF(samples, y_eval = (1:100)/100)
samples |
Vector of input values (samples from the distribution) |
y_eval |
Vector of points where CDF is evaluated (each percentile by default) |
Data.frame with columns 'x', 'y'
plot(getECDF(rnorm(1e4)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.