AVERAGES
- Last UpdatedMar 20, 2025
- 1 minute read
The AVERAGES() function calculates the statistical average value of a stream or array of streams over a specified time interval.
Note: This is the preferred method for calculating averages from discrete samples such as those from a checkweigher. For most measurements, however, AVERAGE is preferred.
Syntax
|
Format |
Stream = AVERAGES(Stream or ArrayOfStreams, TimeInterval) |
|
Arguments |
Stream - A time-ordered vector of values. ArrayOfStreams - An array of streams. See Selecting an array of streams. TimeInterval - The time interval over which average values are calculated. |
|
Description |
Returns the statistical average for a stream or array of streams over the specified time interval. The start and end times are rounded to the start and end times of the interval. For example, if the interval is hourly, the time stamps of all values end with "00:00.000". |