Creates a WindowSpec with the partitioning defined.
UsagewindowPartitionBy(col, ...)
# S4 method for class 'character'
windowPartitionBy(col, ...)
# S4 method for class 'Column'
windowPartitionBy(col, ...)
Arguments
A column name or Column by which rows are partitioned to windows.
Optional column names or Columns in addition to col, by which rows are partitioned to windows.
windowPartitionBy(character) since 2.0.0
windowPartitionBy(Column) since 2.0.0
Examplesif (FALSE) { # \dontrun{
ws <- orderBy(windowPartitionBy("key1", "key2"), "key3")
df1 <- select(df, over(lead("value", 1), ws))
ws <- orderBy(windowPartitionBy(df$key1, df$key2), df$key3)
df1 <- select(df, over(lead("value", 1), ws))
} # }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4