[R] double integral

Dominique Katshunga dkat at stats.uct.ac.za
Fri May 5 14:52:28 CEST 2006


Dear r-users,
Is there any command in R allowing to evaluate a double integral? for
instance let say I want to evaluate the following integral:
integrate[lo=(0,1),up=(2,3)] f(x,y)=x^2+y^2
where lo is the vector of lower bounds and up that of upper bounds.
I thaught the function "adapt" would work but it did not.
Many thanks,
Dominique K.




More information about the R-help mailing list