StatsBase.jl
StatsBase.jl copied to clipboard
Weighted mean with function
This PR addresses #868 . Adds the method for a weighted mean of elements transformed by a function.
- Added
mean(f, itr, weights) - Added tests for the method
@devmotion @ParadaCarleton gentle ping, is this PR ready to merge?