R Programming Language

R is a programming language and free software environment for statistical computing and graphics supported by the R Core Team and the R Foundation for Statistical Computing. It is widely used among statisticians and data miners for developing statistical software and data analysis.

Show Only ...
Maps - Photos - Videos

Why I’m interested in spatial interpolation in R πŸ—Ί

Why I’m interested in spatial interpolation in R πŸ—Ί

Lately I’ve been very interested in this topic. Spatial interpolation is the art and science of blending together points to make a smooth gradient between them. I can see many uses for this, from making colorful maps of elections or census data to making oredi with the data as rarely do demographics neatly follow census tract or voter tabulation lines.

And the nice thing about R scripts is they are easily repeatable and can run in the background without blocking other things like can happen with QGIS although that’s less of an issue now as it’s much more threaded these days. 

I do not recommend tmap πŸ—Ί

I do not recommend tmap πŸ—Ί

The authors of tmap wrote a wrapper around ggplot2 to make mapping in R easier for beginners. But the thing is you use a lot of flexibility by using the default settings in tmap, you would gain by learning the ins and outs of ggplot2. The next result is very generic looking maps that are functional but not pretty.

Now I’m not condemning the work that tmap represents but I encourage you to learn more about R and ggplot2 for making maps. You can always cut and paste your favorite settings from script to script or create a custom function with the details you want on your maps. No need to limit yourself to the basic maps produced by tmap in R.