weighted: Weighted statistics

weightedR Documentation

Weighted statistics

Description

Assorted weighted statistics unavailable in base R.

Usage

weighted.median(x, w)

weighted.mad(x, w)

Arguments

x

a numeric vector of data

w

a numeric vector of weights

Value

A length-one numeric vector.

Author(s)

Ryan Thompson <ryan.thompson1@unsw.edu.au>


familial documentation built on July 9, 2023, 7:27 p.m.