Published by the Foundation for Open Access Statistics
Editors-in-chief: Bettina Grün, Torsten Hothorn, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
RgoogleMaps and loa: Unleashing R Graphics Power on Map Tiles | Loecher | Journal of Statistical Software
Authors: Markus Loecher, Karl Ropkins
Title: RgoogleMaps and loa: Unleashing R Graphics Power on Map Tiles
Abstract: The RgoogleMaps package provides (1) an R interface to query the Google and the OpenStreetMap servers for static maps in the form of PNGs, and (2) enables the user to overlay plots on those maps within R. The loa package provides dedicated panel functions to integrate RgoogleMaps within the lattice plotting environment. In addition to solving the generic task of plotting on a map background in R, we introduce several specific algorithms to detect and visualize spatio-temporal clusters. This task can often be reduced to detecting over-densities in space relative to a background density. The relative density estimation is framed as a binary classification problem. An integrated hotspot visualizer is presented which allows the efficient identification and visualization of clusters in one environment. Competing clustering methods such as the scan statistic and the density scan offer higher detection power at a much larger computational cost. Such clustering methods can then be extended using the lattice trellis framework to provide further insight into the relationship between clusters and potentially influential parameters. While there are other options for such map ‘mashups’ we believe that the integration of RgoogleMaps and lattice using loa can in certain circumstances be advantageous, e.g., by providing a highly intuitive working environment for multivariate analysis and flexible testbed for the rapid development of novel data visualizations.

Page views:: 8105. Submitted: 2013-05-31. Published: 2015-02-10.
Paper: RgoogleMaps and loa: Unleashing R Graphics Power on Map Tiles     Download PDF (Downloads: 8819)
RgoogleMaps_1.2.0.7.tar.gz: R source package Download (Downloads: 178; 630KB)
loa_0.2.22.tar.gz: R source package Download (Downloads: 163; 163KB)
v63i04.R: R example code from the paper Download (Downloads: 259; 1KB) Replication code and data Download (Downloads: 228; 13MB)

DOI: 10.18637/jss.v063.i04

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.