Description Usage Arguments Value Examples
View source: R/grob_object_functions.R
Initialize a grob image object, to be used within grob_col
.
1 | grob_image(x)
|
x |
Either a |
An R6 object of the grob image class.
1 2 3 4 5 6 7 | 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()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.