O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Where in the World? Geospatial Analysis

In this chapter, we will cover the following recipes:

  • Downloading and plotting a Google map of an area
  • Overlaying data on the downloaded Google map
  • Importing ESRI shape files to R
  • Using the sp package to plot geographic data
  • Getting maps from the maps package
  • Creating spatial data frames from regular data frames containing spatial and other data
  • Creating spatial data frames by combining regular data frames with spatial objects
  • Adding variables to an existing spatial data frame
  • Spatial data analysis with R and QGIS

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required