Learn R Programming

SpaDES (version 1.2.0)

.makeList: Convert plotArgs to list of lists

Description

Internal function. Take the inputs as plotArgs to the Plot function, and make them a list of length numSpadesPlotObjects entries of lists.

Usage

.makeList(plotArgs, numSpadesPlotObjects)
".makeList"(plotArgs, numSpadesPlotObjects)

Arguments

plotArgs
The arguments passed to Plot as a list.
numSpadesPlotObjects
Numeric. The number of .spadesPlotObjects. This can't easily be deduced from the plotArgs because of the RasterStacks. So passed manually.