partitionBy {SparkR}R Documentation

partitionBy

Description

Defines the partitioning columns in a WindowSpec.

Usage

## S4 method for signature 'WindowSpec'
partitionBy(x, col, ...)

partitionBy(x, ...)

Arguments

x

a WindowSpec

Value

a WindowSpec

See Also

Other windowspec_method: arrange, arrange, arrange, orderBy, orderBy, orderBy, orderBy; rangeBetween, rangeBetween; rowsBetween, rowsBetween

Examples

## Not run: 
  partitionBy(ws, "col1", "col2")
  partitionBy(ws, df$col1, df$col2)

## End(Not run)

[Package SparkR version 2.0.0 Index]