Subremer GMR

Mapping in R just got a whole lot easier

Simple features in R

Would you like to make a color-coded choropleth map in R? Until recently, working with geospatial objects was a bit more complex than with many other types of data. That’s because R “Spatial Polygons Data Frames” objects were structured something like this if you ran an R str() command to see their structure:

Spatial Polygons Data Frame structure in R Screen shot of an R object structure

Structure of a Spatial Polygons Data Frame in R, without simple features

To read this article in full or to leave a comment, please click here

Статья полностью:Mapping in R just got a whole lot easier