Learn R Programming

geometr (version 0.1.1)

makeObject: Make the object to a plot

Description

Make the object to a plot

Usage

# S4 method for geom
makeObject(x, window = NULL, theme = gtTheme, ...)

# S4 method for Raster makeObject(x, window = NULL, theme = gtTheme, image = FALSE, ...)

# S4 method for matrix makeObject(x, window = NULL, theme = gtTheme, image = FALSE, ...)

# S4 method for Spatial makeObject(x, window = NULL, theme = gtTheme, ...)

# S4 method for sf makeObject(x, window = NULL, theme = gtTheme, ...)

Arguments

x

the object from which to make the plot.

window

[data.frame(1)] two opposing corners of a rectangle to which the plot is limited.

theme

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

...

instead of providing a gtTheme, you can also determine specific graphic parameters (see gpar) separately; see setTheme for details.

image

[logical(1)] whether or not the raster (brick) contains an image.