I wish to sum attribute values for overlapping polygons in r.
@Robert Hijmans solution here accomplishes what I am trying to do using raster::spPolygons
raster::spPolygons