grid: Wrappers of grid functions

gprintR Documentation

Wrappers of grid functions

Description

gprint() is a shortcut for grid::grid.draw().

grid.draw.list() enables writing multi-page PDF via ggplot2::ggsave().

as_gg() converts grob to gg.

Usage

gprint(x, newpage = TRUE, recording = FALSE)

## S3 method for class 'list'
grid.draw(x, recording = FALSE)

as_gg(grob)

Arguments

x

An object of class "grob" or NULL.

newpage

logical

recording

A logical value to indicate whether the drawing operation should be recorded on the Grid display list.

grob

graphical object


heavywatal/rwtl documentation built on April 2, 2024, 6:08 p.m.