avg(double[] addends, boolean includeEmptyCells)

avg returns the average of the numbers, given an array of double numbers. The boolean flag includeEmptyCells specifies whether the Double.NaN in the array should be considered for average.

avg(double[] addends, boolean includeEmptyCells)