ewcdf | R Documentation |
Compute the weighted empirical cumulative distribution
ewcdf(x, weights = rep(1/length(x), length(x)))
x |
the sample |
weights |
the associated weights if any. Default is uniform. |
a vector containing:
- the weighted empirical cumulative distribution function
- the cumulated weights associated to the ordered values of the random variable.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.