Dear R users,

I have spectral data (say, wavelength vs. extinction coefficient) for which IŽd like to calculate an integral (i.e. the area underneath the curve).

Suppose the (artificial) dataset is

lambda  E
1       2
2       4
3       5
4       8
5       1
6       5
7       4
8       9
9       8
10      2



How can I calculate an integral  for these values using R?

Many thanks for any help!
Regards

Christoph

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to