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>


ryan-thompson/familial documentation built on Dec. 10, 2024, 3:13 a.m.