map: map

Description Usage Arguments Examples

Description

Displays a map outlining the MSOAs within Tower Hamlets, filling with a colour derived from the supplied data

Usage

1
map(data, minColour = "#0080FF", maxColour = "#FF8000")

Arguments

data

a data.table (or data.frame) containing a column "MSOA" containing the MSOA code and a column "Value" containing numeric data to be plotted

minColour

colour for the lowest value of the data

maxColour

colour for the lowest value of the data

Examples

1
2
3
p = microsynthesise()
d = diversity(p)
m = map(d)

virgesmith/demographyMicrosim documentation built on May 29, 2019, 12:42 p.m.