Learn R Programming

geometr (version 0.2.8)

.makeGrob: Make the grob of a plot

Description

Make the grob of a plot

Usage

.makeGrob(x, plotParams, theme = gtTheme)

Arguments

x

the object to transform to class grob.

plotParams

[named list(.)] new plotting parameters specified via the quick options in visualise.

theme

[gtTheme(1)] the theme from which to take parameters.

Value

Depending on the provided geometry either a pointsGrob, a polylineGrob, a pathGrob or a rasterGrob.