Description Usage Arguments S3 methods See Also Examples
View source: R/weighted-stats.r
An extension of the base ecdf
function which works
with weighted data.
1 | weighted.ecdf(x, w)
|
x |
numeric vector of observations |
w |
integer vector of weights, representing the number of
time each |
The ecdf
class has methods for plot
,
lines
, summary
and quantile
.
quantile
does not currently correctly compute values for
weighted ecdfs.
Other weighted statistics: weighted.quantile
;
weighted.sd
, weighted.var
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.