Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

wtd.iqr

Weighted Interquartile range


Description

Compute weighted Interquartile range (iqr)

Usage

wtd.iqr (x, na.rm = FALSE, weight=FALSE)

Arguments

x

Vector of data, same length as weight

na.rm

Logical: Should NAs be stripped before computation proceeds?

weight

Vector of weights

Details

Uses a simple algorithm based on sorting.

Value

Returns an empirical interquartile range from a weighted sample.


reldist

Relative Distribution Methods

v1.6-6
GPL-3 + file LICENSE
Authors
Mark S. Handcock <handcock@stat.ucla.edu>
Initial release
2016-10-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.