I have been trying to create a grid over my world map in such a way as shown below example of gridded map
I want to be able to colour the grid based on the rate2 column in my file. Most of the solutions I have gotten only colour the world based on countries. Please how may I go about this. I have attached my csv.
Take a look at some of the spatial interpolation packages in R, the Spatial Task View for R provides a nice list, e.g. automap, gstat, Fields, geoR etc. To get a map you need to:
I think for this data your first best bet are some inverse distance weighted, or spline based interpolation (e.g. Tps in Fields).
Some notes:
See also two of my previous posts on the topic for more information: