Skip to content

mean

Computes the mean of all grouped values.

mean(xs:list) -> float

The mean function returns the average of all numeric values in xs.

The values to average.

from {x: 1}, {x: 2}, {x: 3}
summarize avg=mean(x)
{avg: 2.0}

median, sum