Arguments
- grob
grid object
- newpage
draw on a new page
- vp
a
viewport
object (orNULL
).
Examples
library(dplyr)
library(grid)
# Internal function - arrange_grob
if (FALSE) {
rect <- rectGrob(width = grid::unit(0.5, "npc"), height = grid::unit(0.5, "npc"))
rect %>% draw_grob(vp = grid::viewport(angle = 45))
num <- lapply(1:10, textGrob)
num %>%
arrange_grobs(grobs = .) %>%
draw_grob()
showViewport()
}