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.
1 | group_by(vars)
|
vars |
variable names to group a data set by, stored as a character vector |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.