partitionBy {SparkR} | R Documentation |
Defines the partitioning columns in a WindowSpec.
## S4 method for signature 'WindowSpec' partitionBy(x, col, ...) partitionBy(x, ...)
x |
a WindowSpec |
a WindowSpec
Other windowspec_method: arrange
,
arrange
, arrange
,
orderBy
, orderBy
,
orderBy
, orderBy
;
rangeBetween
, rangeBetween
;
rowsBetween
, rowsBetween
## Not run: partitionBy(ws, "col1", "col2") partitionBy(ws, df$col1, df$col2) ## End(Not run)