Learn R Programming

GADMTools (version 3.9-1)

grid.map: Arrange maps on a grid

Description

Allows you to arrange multiple maps into one image. This is useful for showing a country together with its territories in other parts of the world (ex: showing France and Reunion island) or placing two or more countries side by side.

Usage

grid.map(left, right, center=NULL, title=NULL)

Arguments

left

Object gadm_sp

right

data.frame - data to plot

center

String - an RColorBrewer palette name or a String vector vector of colors. Default NULL.

title

String - plot title. Default is an empty string.

Value

Object ggplot2

Details

----

References

----

See Also

----

Examples

Run this code
# NOT RUN {
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--  or do  help(data=index)  for the standard data sets.

# }

Run the code above in your browser using DataLab