add_gid: Include .gid in groupings

Description Usage Arguments

Description

add_gid intelligently adds the .gid variable to the group slot of an uneval object. If the group slot is NULL, add_gid sets group = .gid. If the group slot already contains a mapping, add_gid adds .gid to this mapping with interaction().

Usage

1
  add_gid(maps)

Arguments

aes_group

the group value of an uneval object


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