mean
Computes the mean of all grouped values.
mean(xs:list) -> float
Description
Section titled “Description”The mean
function returns the average of all numeric values in xs
.
xs: list
Section titled “xs: list”The values to average.
Examples
Section titled “Examples”Compute the mean value
Section titled “Compute the mean value”from {x: 1}, {x: 2}, {x: 3}summarize avg=mean(x)
{avg: 2.0}