weighted {familial}R 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>


[Package familial version 1.0.5 Index]