title: Displaying R spatial statistics on Google dynamic maps with web applications created by Rwui.
abstract: BACKGROUND
  The R project includes a large variety of packages designed for spatial statistics. Google dynamic maps provide web based access to global maps and satellite imagery. We describe a method for displaying directly the spatial output from an R script on to a Google dynamic map.
  
  
  METHODS
  This is achieved by creating a Java based web application which runs the R script and then displays the results on the dynamic map. In order to make this method easy to implement by those unfamiliar with programming Java based web applications, we have added the method to the options available in the R Web User Interface (Rwui) application. Rwui is an established web application for creating web applications for running R scripts. A feature of Rwui is that all the code for the web application being created is generated automatically so that someone with no knowledge of web programming can make a fully functional web application for running an R script in a matter of minutes.
  
  
  RESULTS
  Rwui can now be used to create web applications that will display the results from an R script on a Google dynamic map. Results may be displayed as discrete markers and/or as continuous overlays. In addition, users of the web application may select regions of interest on the dynamic map with mouse clicks and the coordinates of the region of interest will automatically be made available for use by the R script.
  
  
  CONCLUSIONS
  This method of displaying R output on dynamic maps is designed to be of use in a number of areas. Firstly it allows statisticians, working in R and developing methods in spatial statistics, to easily visualise the results of applying their methods to real world data. Secondly, it allows researchers who are using R to study health geographics data, to display their results directly onto dynamic maps. Thirdly, by creating a web application for running an R script, a statistician can enable users entirely unfamiliar with R to run R coded statistical analyses of health geographics data. Fourthly, we envisage an educational role for such applications.
authors.affiliation: MRC Biostatistics Unit, Robinson Way, Cambridge, UK. richard.newton@mrc-bsu.cam.ac.uk
authors.forename: Richard
authors.initials: R
authors.lastname: Newton
authors.forename: Andrew
authors.initials: A
authors.lastname: Deonarine
authors.forename: Lorenz
authors.initials: L
authors.lastname: Wernisch
mesh_terms: D003626:Data Display; D062305:Geographic Mapping; D020407:Internet; D012985:Software Design; D014584:User-Computer Interface