View source: R/cdtPlot_MultipleData_function.R
plotMultipleData | R Documentation |
Display maps from multiple data in one plot.
plotMultipleData(
dataObj,
shp = NULL,
xlim = NULL,
ylim = NULL,
dataTitle = NULL,
plotTitle = NULL,
colorkeyTitle = "",
presetCol = list(color = "tim.colors", reverse = FALSE),
userCol = list(custom = FALSE, color = NULL),
userLvl = list(custom = FALSE, levels = NULL, equidist = FALSE),
ptsOpt = list(pch = 20, cex = 1),
shpOpt = list(col = "black", lwd = 1)
)
dataObj |
list of data. Each data has the form
|
shp |
sp object of class |
xlim , ylim |
vector of length 2. |
dataTitle |
vector same length as dataObj, title for each data |
plotTitle |
character, title of the plot |
colorkeyTitle |
character, title of the colorkey |
presetCol |
list, preset colors for colorkey |
userCol |
list, customized colors for colorkey |
userLvl |
list, customized level for colorkey |
ptsOpt |
list, options for points data |
shpOpt |
list, options for the shp layer |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.