weighted.quantile function

Weighted quantiles

Weighted quantiles

weighted.quantile(x, w, q = 0.5)

Arguments

  • x: The numerical variable.
  • w: Weights
  • q: Quantile

Returns

The quantile

Author(s)

Jose Luis Vicente Villardon

Examples

##---- Should be DIRECTLY executable !! ----
  • Maintainer: Jose Luis Vicente Villardon
  • License: GPL (>= 2)
  • Last published: 2023-11-21

Useful links