getWeightedQuantiles: Get Weighted Quantiles

View source: R/BMisc.R

getWeightedQuantilesR Documentation

Get Weighted Quantiles

Description

Finds multiple quantiles by repeatedly calling getWeightedQuantile

Usage

getWeightedQuantiles(tau, cvec, weights = NULL, norm = TRUE)

Arguments

tau

a vector of values between 0 and 1

cvec

a vector to compute quantiles for

weights

the weights, weighted.checkfun normalizes the weights to sum to 1.

norm

normalize the weights so that they have mean of 1, default is to normalize

Value

vector of quantiles


bcallaway11/BMisc documentation built on March 13, 2024, 1:39 a.m.