partition_group: Partition data so that each group is wholly on a node

Description Usage Arguments Details Value See Also Examples

Description

Partitions data across the cluster such that each group is wholly contained on a single node.

Usage

1
2
3
partition_group(.self, ...)

partition_group_(.self, ..., .dots)

Arguments

.self

Data frame

...

Additional parameters

.dots

Workaround for non-standard evaluation

Details

This should not typically be called explicitly; group_by achieves the same thing. Generally speaking it would be fairly pointless to group things and then not have each group fully accessible, but theoretically is possible to so (use group_by (..., auto_partition=FALSE).

Value

Data frame

See Also

Other cluster functions: partition_even, shutdown

Examples

1
2
3
dat <- Multiplyr (x=1:100, G=rep(c("A", "B", "C", "D"), each=25))
dat %>% partition_group (G)
dat %>% shutdown()

jeblundell/multiplyr documentation built on May 19, 2019, 12:39 a.m.