grob_image {grobblR} | R Documentation |
Grob Image
Description
Initialize a grob image object, to be used within grob_col
.
Usage
grob_image(x)
Arguments
x |
Either a |
Value
An R6 object of the grob image class.
Examples
gg = data.frame(x = c(5, 14, 6, 10), y = c(3, 30, 17, 7)) %>%
ggplot2::ggplot(mapping = ggplot2::aes(x = x, y = y)) +
ggplot2::geom_line(color = 'red')
gg %>%
grob_image() %>%
view_grob()
[Package grobblR version 0.2.1 Index]