map.array: Array of maps

View source: R/functions_array.r

map.arrayR Documentation

Array of maps

Description

This function takes a list of map objects and arranges them into an array.

Usage

map.array(x, ncol = 1, title = "", fixed.coord = TRUE, padding = 0.15)

Arguments

x

a list of objects created by one of the mapping functions in the soc.ca package or any other ggplot2 plot

ncol

the number of columns the plots are arranged into

title

the main title of the array

fixed.coord

if TRUE the limits of all plots are set to the same as the largest plot

padding

the distance between the most extreme position and the axis limit

Examples

## Not run: 
example(soc.ca)
map.array(list(map.ind(result), map.mod(result)), ncol = 2)

## End(Not run)

Rsoc/soc.ca documentation built on March 7, 2024, 8:59 p.m.