[R] Area between 2 curves

sappy robert.wittkopf at gmx.de
Mon Apr 30 12:17:12 CEST 2012


Hello,

i have a question calculating the shaped area between the two curves (see
image).

http://r.789695.n4.nabble.com/file/n4597813/test.png 

I try to use a Simpson-Integral but it doesn't work. "R" doesn't know the
command!
It is possible, that i need a library?

Curve 1: y
Curve 2: z

q<-abs(y-z); est<-sintegral(x,z)

Greetings

--
View this message in context: http://r.789695.n4.nabble.com/Area-between-2-curves-tp4597813.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list