R/w.mean.R

w.mean <-
function(x, mu)  sum(mu*x)/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.