weighted.quantile.harrell.davis {cNORM}R Documentation

Weighted Harrell-Davis quantile estimator

Description

Computes weighted quantiles; code from Andrey Akinshin via https://aakinshin.net/posts/weighted-quantiles/ Code made available via the CC BY-NC-SA 4.0 license

Usage

weighted.quantile.harrell.davis(x, probs, weights = NA)

Arguments

x

A numerical vector

probs

Numerical vector of quantiles

weights

A numerical vector with weights; should have the same length as x

Value

the quantiles


[Package cNORM version 2.0.1 Index]