Description Usage Arguments Value Note See Also Examples
Defines the partitioning columns in a WindowSpec.
1 2 | ## S4 method for signature 'WindowSpec'
partitionBy(x, col, ...)
|
x |
a WindowSpec. |
col |
a column to partition on (desribed by the name or Column). |
... |
additional column(s) to partition on. |
A WindowSpec.
partitionBy(WindowSpec) since 2.0.0
Other windowspec_method:
orderBy()
,
rangeBetween()
,
rowsBetween()
1 2 3 4 5 | ## Not run:
partitionBy(ws, "col1", "col2")
partitionBy(ws, df$col1, df$col2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.