375 reputation
19
bio website
location
age
visits member for 1 year, 2 months
seen May 14 at 15:54
stats profile views 12

Write enthusiastic but inelegant code in R, Perl, VBA etc


May
14
comment How to efficiently read and reclassify many rasters in R
+1 Liking the concision of R vs the provided Python example...
Mar
13
comment R: How can I create a polygon from several polygons and a line?
Thanks for this pointer. rgeos was full of interesting things to try but ultimately I couldn't get R to generate a polygon composed of the line and subsets of the other polygons as described above. In the end I manually added the line in QGIS on a different layer, merged the layer, snipped pieces off it and exported it as a shapeful.
Mar
11
awarded  Yearling
Mar
11
asked R: How can I create a polygon from several polygons and a line?
Feb
20
comment Choropleth in R: custom breaks and plotting
OK, can you specify exactly what the issue is, with examples? Angola is assigned a 3 for the onset column and plots a 3 in the chart. That seems to work. Presumably I'm missing something?
Feb
20
answered Choropleth in R: custom breaks and plotting
Feb
17
comment Choropleth in R: custom breaks and plotting
I would also look at using ggplot2 for choropleth maps, which I think turns out better looking output by default.
Jan
29
awarded  Popular Question
Jan
25
awarded  Nice Question
Dec
21
awarded  Commentator
Dec
21
comment How to create an attractive choropleth map in R?
@RobinLovelace Where does the join function come from in line 69 of oas-eg.r? I'm guessing plyr but a pointer would be appreciated.
Dec
21
comment How to create an attractive choropleth map in R?
@RobinLovelace Thanks, interesting, have downloaded
Dec
21
comment How to create an attractive choropleth map in R?
@RobinLovelace If you put your R code up we can surely help you with these issues, but without a reproducible example it's not easy to pinpoint the issues. I do appreciate the effort you have made to put up the (useful) screenshots, but the images are just the icing that should be delivered on top of the cake of the source code.
Dec
20
revised Intersection between two SpatialPolygonsDataFrame using gIntersection function in R
Edited for clarity
Dec
20
revised Intersection between two SpatialPolygonsDataFrame using gIntersection function in R
Edited to reflect new errors found, updated screenshot
Dec
19
answered Intersection between two SpatialPolygonsDataFrame using gIntersection function in R
Dec
19
comment Intersection between two SpatialPolygonsDataFrame using gIntersection function in R
That's quite a large chunk of data... Will have a look once I've downloaded it.
Nov
24
awarded  Self-Learner
Nov
24
revised Using R to calculate the area of multiple polygons on a map that intersect with another overlaid polygon
added 109 characters in body
Nov
15
accepted Using R to calculate the area of multiple polygons on a map that intersect with another overlaid polygon