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.thompson-1@uts.edu.au>


familial documentation built on April 3, 2025, 5:51 p.m.