By: Russell J Gray
Like most people, I have traditionally used the raster package function rasterize() and distance() to generate distance rasters (for example distance to river rasters). However, both of these functions take an incredibly long time, especially when dealing with large, high-resolution data. So here I present a workflow that will take seconds, rather than hours by creating a distance to river raster layer for the entire country of Pakistan as an example:
0 Comments
South American ecoregions with a zoom out to Brazil by Russell J. Gray Ecoregions maps are simple in R, here is some reproducible code to make them yourself. You can download the newest version (2017) WWF ecoregion data here
Are you tired of seeing mixed messages on social media regarding the novel coronavirus? Even if you aren't a programmer, you can use data science techniques to analyze the real data and get answers for yourself. In this article I will provide step by step instructions on how to do it.
|
AuthorRussell J. Gray Archives
April 2021
Categories |