Thank you, seems to be the right thing for me. But what is this "n" for? The number of iteration steps as mentioned on other pages for the simpson rule? "number of divisions" as said on the help page I don't understand. ("a" and "b" can be ignored, if I got it right?!). Thanks again!
stephen sefick wrote: > > simp() in the StreamMetabolism package may do the trick. I have used > this on time series of chemical constituent masses. > hth, > > Stephen Sefick > -- View this message in context: http://r.789695.n4.nabble.com/Calculate-area-under-a-curve-tp2275283p2275512.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.