weighted.quantile.type7 {cNORM}R Documentation

Weighted type7 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.type7(x, probs, weights = NULL)

Arguments

x

A numerical vector

probs

Numerical vector of quantiles

weights

A numerical vector with weights; should have the same length as x. If no weights are provided (NULL), it falls back to the base quantile function, type 7

Value

the quantiles


[Package cNORM version 2.0.3 Index]