TargetColumns |
Optional |
Specifies the names of the input columns for which the weighted moving average is to be computed. The function copies these columns to the output table. If you omit this argument, then the function copies these columns to the output table but does not compute their weighted moving averages. |
WindowSize |
Optional |
Specifies the number of old values to consider for computing the new weighted moving average. The default value is '10'. |
IncludeFirst |
Optional |
Specifies whether to output the first window_size rows. Because the weighted moving average for the first window_size rows is undefined, the function returns NULL values for those columns. The default value is 'false'. |