gg_conversions: Common conversions

Description Usage Arguments Functions See Also Examples

Description

Common conversation operations between objects of class gg (called raw gg) and tabular extensions of it (called gg table) that contains meta information.

Usage

1
2
3
4
5
flatten_gg(tbl)

blow_gg(...)

pull_gg(tbl, index = 1)

Arguments

tbl

A tibble.

...

Objects of class gg, that is, plots created with ggplot.

index

An index. Positive numbers refer to the nth plot in the gg table, negative numbers count backwards.

Functions

See Also

Other post-creation manipulators: merge_vis, mutate_gg

Other post-creation manipulators: merge_vis, mutate_gg

Examples

1
2
3
4
5
6
gg_table <- vis_cols(mtcars, 2)
gg_raw <- gg_table %>%
  flatten_gg()
# the reverse operation (only column gg can be restored)
gg_raw %>%
  blow_gg()

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