Description Usage Arguments Value Author(s) See Also Examples

Quantiles for weighted observations

1 |

`x` |
numeric vector whose sample quantiles are wanted 'NA' and 'NaN' values are not allowed unless 'na.rm' is 'TRUE'. |

`probs` |
numeric vector of probabilities with values in [0,1]. |

`weights` |
numeric vector of weights. They will be standardized to sum to 1. |

`na.rm` |
remove NAs from 'x'? If FALSE and 'x' contains NAs, the value will be NA. |

Empirical quantiles corresponding to the given probabilities and weights. If a quantile is not unique since the cumulated weights hit the probability value exactly (the case of the median of a sample of even size), the mean of the corresponding values is returned.

Werner A. Stahel

1 2 3 4 5 |

regr0 documentation built on May 31, 2017, 2:26 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.