R/w.ad.R

w.ad <-
function(x, mu)  sum( mu*abs(x-w.mean(x,mu)) ) / sum(mu)

Try the Weighted.Desc.Stat package in your browser

Any scripts or data that you put into this service are public.

Weighted.Desc.Stat documentation built on May 1, 2019, 7:06 p.m.