On 9/17/07, Ptit_Bleu <[EMAIL PROTECTED]> wrote: > I have a data frame of 2 columns with the following types : > data$day char > data$value num > > And I plot my data with : > plot(strptime(donnees$day,format="%Y-%m-%d %H:%M:%S"),donnees$value, > type="l") > > And I'd just like to get the numerical value of the integration of this > graph. Would cumsum (which simply finds the cumulative sum of a vector) be sufficiently accurate for your purposes? Ben Bolker -- View this message in context: http://www.nabble.com/Must-be-easy%2C-but-haven%27t-found-the-function-%28numerical-integration%29-tf4465684.html#a12738241 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.