quickMap: Quickly generate an interactive map

Description Usage Arguments Examples

View source: R/quickMap.R

Description

This function can be used to quickly generate interactive maps from a SpatialPointsDataFrame or a SpatialPolygonsDataFrame.

Usage

1
quickMap(x, col.by = "", size.by = "", alpha = 1, popup = "", ...)

Arguments

x

a SpatialPointsDataFrame or a SpatialPolygonsDataFrame.

col.by

a column name of x giving colors for points or polygons.

size.by

a column name of x giving the size for the circles. Only relevant with SpatialPointsDataFrame

alpha

a numeric to control the transparency.

popup

a character vector providing popup content.

...

other arguments to be passed to writeMap

Examples

1
2
3
4
5
## Not run: 
data(cholera)
quickMap(cholera$deaths, col.by = "Count", size.by = "Count")

## End(Not run)

Hackout2/epimap documentation built on May 6, 2019, 9:47 p.m.