dhist_ecmf | R Documentation |
Generate interpolating empirical cumulative mass function (ECMF) for a discrete histogram
dhist_ecmf(dhist)
dhist |
A discrete histogram as a |
An interpolating ECMF as an approxfun
object. This function
will return the interpolated cumulative mass for a vector of arbitrary
locations. If dhist$smoothing_window_width
is zero, the ECMF will be
piecewise constant. If dhist$smoothing_window_width
is one, the ECMF
will be piece-wise linear. If dhist$smoothing_window_width
is any
other value, the ECMF will not correctly represent the cumulative mass.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.