mutate_gg: Mutate gg raw objects in a gg table

Description Usage Arguments See Also Examples

Description

A dplyr-like mutate to modify certain gg raw objects in a gg table.

Usage

1

Arguments

data

A gg table.

add

Terms to add to the plot.

...

Positional indices that indicate the row for which the corresponding raw gg object should be modified. If empty, all columns are modified.

See Also

Other post-creation manipulators: gg_conversions, merge_vis

Examples

1
2
3
4
mtcars %>%
  vis_cols(vs, contains("hp"), "cyl", transformer = vis_2d_point) %>%
  mutate_gg(ggplot2::stat_summary(fun.y = mean, geom = "line"), 2, 3) %>%
  pull_gg(2)

lorenzwalthert/simplificar documentation built on May 7, 2019, 9:32 a.m.