grid.map: Arrange maps on a grid

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/10_gadm_sp_core.R

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

1
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.

Details

—-

Value

Object ggplot2

Note

—-

Author(s)

Jean Pierre Decorps <jp.decorps@epiconcept.fr>

References

—-

See Also

—-

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--  or do  help(data=index)  for the standard data sets.

GADMTools documentation built on Aug. 5, 2021, 1:06 a.m.