Examples for 'GGally::remove_color_unless_equal'


Remove colour mapping unless found in select mapping keys

Aliases: remove_color_unless_equal

Keywords:

### ** Examples

mapping <- aes(x = sex, y = age, colour = sex)

mapping <- aes(x = sex, y = age, colour = region)
remove_color_unless_equal(mapping)
Aesthetic mapping: 
* `x` -> `sex`
* `y` -> `age`

[Package GGally version 2.1.2 Index]