Computes a non-overlapping block minimum of a series.
BLOCKMIN(series, N, "naflag")
series |
- |
A series or table. |
||||||
N |
- |
An integer, the points per block to calculate the minimum as the series is processed. |
||||||
"naflag" |
- |
Optional. A string, the NA handling method.
|
A series or table, the N-point block minimum.
W1: 1..12
W2: blockmin(W1, 2)
W2 == {1, 3, 5, 7, 9, 11}
W1: 1..12
W2: blockmin(W1, 3)
W2 == {1, 4, 7, 10}
W1: {1, 2, 3, 4, 5, nan, 7, 8, 9, nan, 11, 12}
W2: blockmin(W1, 3)
W3: blockmin(W1, 3, "includenan")
W2 == {1, 4, 7, 11}
W3 == {1, nan, 7, nan}
W2 ignores the NaN values.
W3 returns NaN for any block that includes one or more NaN values.
BLOCKMIN computes the N-point non-overlapping block minimum of a series by decimating the standard N-point moving minimum.
If the block size is not an integral fraction of the series length, the end points are not processed.
NaN values are ignored by default. Set naflag to "includenan" to process NaN values.
See XBLOCKMIN to compute the moving block minimum based on a X duration.