EconPapers    
Economics at your fingertips  
 

RgoogleMaps and loa: Unleashing R Graphics Power on Map Tiles

Markus Loecher and Karl Ropkins

Journal of Statistical Software, 2015, vol. 063, issue i04

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.

Date: 2015-02-10
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (7)

Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v063i04/v63i04.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... eMaps_1.2.0.7.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... 04/loa_0.2.22.tar.gz
https://www.jstatsoft.org/index.php/jss/article/do ... ile/v063i04/v63i04.R
https://www.jstatsoft.org/index.php/jss/article/do ... 3i04-replication.zip

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:063:i04

DOI: 10.18637/jss.v063.i04

Access Statistics for this article

Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis

More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().

 
Page updated 2025-03-19
Handle: RePEc:jss:jstsof:v:063:i04