Compute the mean absolute deviation about the mean
Details
The ds_mdev
function computes the mean absolute deviation
about the mean. It is different from mad
in stats
package as
the statistic used to compute the deviations is not median
but
mean
. Any NA values are stripped from x
before computation
takes place