rowsBetween {SparkR} | R Documentation |
Defines the frame boundaries, from start
(inclusive) to end
(inclusive).
## S4 method for signature 'WindowSpec,numeric,numeric' rowsBetween(x, start, end) rowsBetween(x, start, end)
x |
a WindowSpec |
start |
boundary start, inclusive. The frame is unbounded if this is the minimum long value. |
end |
boundary end, inclusive. The frame is unbounded if this is the maximum long value. |
Both start
and end
are relative positions from the current row. For example,
"0" means "current row", while "-1" means the row before the current row, and "5" means the
fifth row after the current row.
a WindowSpec
rowsBetween since 2.0.0
Other windowspec_method: orderBy
,
orderBy
, orderBy
,
orderBy,WindowSpec,Column-method
,
orderBy,WindowSpec,character-method
;
partitionBy
, partitionBy
,
partitionBy,WindowSpec-method
;
rangeBetween
, rangeBetween
,
rangeBetween,WindowSpec,numeric,numeric-method
## Not run:
##D rowsBetween(ws, 0, 3)
## End(Not run)