wtd.quantile: weighted quantile

View source: R/utils.R

wtd.quantileR Documentation

weighted quantile

Description

weighted quantile

Usage

wtd.quantile(x, wt, q)

Arguments

x

numeric vector whose quantiles are wanted

wt

vector of weights

q

quantile (at the moment must be scalar) generalization of the base quantile function to allow values to be weighted. Useful for constructing interval estimates when using a particle filter or similar algorithm

Author(s)

Mike Dietze


EcoForecast/ecoforecastR documentation built on June 7, 2022, 3:31 a.m.