multiplyr (version 0.1.1)

summarise: Summarise data

Description

Produces a summary statistic for each group or cluster node (the latter case should then be followed up with reduce)

Usage

summarise(.self, ..., auto_compact = NULL)
summarise_(.self, ..., .dots, auto_compact = NULL)

Arguments

.self
Data frame
...
Additional parameters
auto_compact
Compact data after operation
.dots
Workaround for non-standard evaluation

Value

Data frame

See Also

Other data manipulations: mutate, nsa, reduce, transmute, within_group, within_node

Examples

Run this code

dat <- Multiplyr (x=1:100, G=rep(c("A", "B", "C", "D"), each=25))
dat %>% group_by (G) %>% summarise (xbar = mean(x))
dat %>% shutdown()

Run the code above in your browser using DataCamp Workspace