Mean(), Avg()

Summary

Computes the mean (average) of the elements of an array.

Syntax

avg_value = Mean(array data_values)

Argument Contents
data_values An array of numbers

Returns

A real number equal to the mean of the elements of data_values.

Notes

  • Can also be called as Avg().

  • The array must contain numbers only. Other types, including null, are not allowed.

Error Codes

Error Type Meaning
Error The array contains values that are null or are not numbers

See Also

Function Summary
Median() Computes the median of the elements of an array