Learn R Programming

familial (version 1.0.7)

weighted: Weighted statistics

Description

Assorted weighted statistics unavailable in base R.

Usage

weighted.median(x, w)

weighted.mad(x, w)

Value

A length-one numeric vector.

Arguments

x

a numeric vector of data

w

a numeric vector of weights

Author

Ryan Thompson <ryan.thompson-1@uts.edu.au>