SpaDES (version 1.3.1)

.makeSpadesPlot: Make a .spadesPlot class object

Description

Builds a .spadesPlot object from a list of objects.

Usage

.makeSpadesPlot(plotObjects, plotArgs, whichSpadesPlottables, ...)

# S4 method for list,list .makeSpadesPlot(plotObjects, plotArgs, whichSpadesPlottables, ...)

# S4 method for list,missing .makeSpadesPlot(plotObjects, plotArgs, whichSpadesPlottables, ...)

# S4 method for missing,missing .makeSpadesPlot(plotObjects, plotArgs, whichSpadesPlottables, ...)

Arguments

plotObjects

list. Any plot objects.

plotArgs

list. Any arguments that the the grid package can accept for the specific grob types, e.g., rasterGrob, polygonGrob, etc.

whichSpadesPlottables

Logical indicating which objects in the Plot call can be plotted by Plot.

...

additional arguments. Currently nothing.

Value

A .spadesPlot object, which has 2 slots, one for the plot arrangement (i.e., layout and dimensions) and onefor all of the spadesGrobs (stored as a spadesGrobList of lists .spadesGrob objects).