Almost 2 years ago, I made a post on creating digital elevation map using R. For that post, I used the basic R plotting function to create the map. Recently, I started learning to use ggplot2 package for visualizing data. Today, I created the same map that I did two years ago, using raster and gpplot2, its for you guys to tell the difference.
Happy Coding! Use R!
Before
After
Pretty cool stuff. It would be great if you could share the code as well. Thanks,
ReplyDeleteNice work.. Keeping with the true spirit of R. Why dont you educate your readers with the code. so they can really use your work for their problem areas... After all it is this spirit of other generous programmers that must have allowed you reach this far...
ReplyDeleteHi Geoquest and Vijay, I just tweak the code I got from this discussion (http://stackoverflow.com/questions/11179666/ggplot2-raster-plotting-does-not-work-as-expected-when-setting-alpha-values) to fit the data that I have.
ReplyDeleteThanks @arsalvacion ! This is quite helpful.
ReplyDeletePretty Nice, can you share the code of this map, please! Thank you! Paulo
ReplyDelete