Syntax: avg(object = VAL [, axis = OPTION] [, both = 1] [, ignore = VAL])
'object' - may be any numeric array of any data type and format
'axis' - Option to compute average along specified axis. Options include: x, y, z, xy, xz, yz, xyz.
'both' - Option to return both the average and the standard deviation in a structure
'ignore' - Optional value to ignore in average and standard deviation calculation
If an ignore value is specified, then any element that is equal to the ignore value is not included in the computation. If all the values in the computation are equal to the ignore value, then the output is set to the ignore value.
Note: The avg function uses a one-pass accumulator that can experience round off error with lots of numbers.