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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to