[R] calculate area between intersecting polygons

Remko Duursma remkoduursma at gmail.com
Tue Oct 26 04:38:44 CEST 2010


Dear Jonas,

if you can write the difference in y-values between your polygons as a
function, you can use
integrate() to get the area between the polygons.

It sounds like perhaps your x-values will not match between the polygons
because they come from different sources, so you probably have to do some
interpolating (with ?approx).


hope that helps,
Remko
-- 
View this message in context: http://r.789695.n4.nabble.com/calculate-area-between-intersecting-polygons-tp3012980p3013059.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list