Hello,  I understand that the standard way out is the Polar Conversion. I was almost there, but I must have thought something wrong. I will try that again. Thanks for your reply!  Best regards, Yingfu
________________________________ From: Jeff Newmiller <jdnew...@dcn.davis.ca.us> ect.org> Sent: Tuesday, May 8, 2012 1:44 PM Subject: Re: [R] Numerical integration of a two dimensional function over a disk "Simply impossible" seems an odd description for a technique described in every elementary calculus text under the heading "integration in cylindrical coordinates". --------------------------------------------------------------------------- Jeff Newmiller            The  .....   ..... Go Live... DCN:<jdnew...@dcn.davis.ca.us>    Basics: ##.#.   ##.#. Live Go...                    Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries      O.O#.   #.O#. with /Software/Embedded Controllers)       .OO#.   .OO#. rocks...1k --------------------------------------------------------------------------- Sent from my phone. Please excuse my brevity. >Hello, there! >� >Basically my problem is very clear. I would like to take a >(numerical)�integration of a function f(x,y) which can be quite complex >of x and y, over a disk (x-a)^2+(y-b)^2<= r^2 (with r constant). >However, after some search in R, I just cannot find a function in R >that suits my purpose. Function Integrate applies to one dimensional, >and adaptIntegrate to�rectangle. In my case, it is not easy or >simply�impossible�to transform�the definition area�to a rectangle with >constant�boundaries. ��I must have missed something, but is there any R >function which can solve the integration without going to ex. Monto [[elided Yahoo spam]] >� >Best regards, >Yingfu >   [[alternative HTML version deleted]] > >______________________________________________ >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. [[alternative HTML version deleted]]
______________________________________________ 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.