powered by
weightedmean(ages, prefix = NULL)
results
avgt: the weighted mean age err: the standard error of avgt MSWD: the Mean Square of the Weighted Deviates
avgt
err
MSWD
data(Melbourne) ages <- process(Melbourne$X,Melbourne$irr,Melbourne$fract) weightedmean(ages,"MD2-1")
Run the code above in your browser using DataLab