Contents

mean()

Returns the arithmetic mean of the elements in a column of doubles.

Declaration

func mean() -> Double?

Return Value

A Double; otherwise nil if the column is invalid.

See Also

Getting sum, mean, and standard deviation values