group_by: Specify how to group data during build.

Description Usage Arguments

Description

group_by is a second order function: it returns a function that can be used on a data set to provide a grouping variable. This allows functions like glyph and grid to specify how to group data when a glayer inherits a plot level data set at build time.

Usage

1
  group_by(vars)

Arguments

vars

variable names to group a data set by, stored as a character vector


garrettgman/ggplyr documentation built on May 16, 2019, 5:38 p.m.