Up until Julia 0.6 mean
ignored NaN’s. What are the options for those of us that want a simple nanmean
function?
Somewhere I remember seeing an alternative function in Base but I haven’t been able to find it again.
There were two options mentioned in the commit linked above: NanMath.jl and DataArrays.jl. NaNMath looks like a good option if there’s nothing available in Base but DataArrays looks like overkill for a simple nanmean function.
Matlab (just for those searching for nanmean usage like in Matlab)