[R] two dimensional integration

David Winsemius dwinsemius at comcast.net
Sat Feb 16 20:18:40 CET 2013


On Feb 16, 2013, at 9:01 AM, julia cafnik wrote:

> Dear R-users,
> 
> I'm wondering how to calculate this double integral in R:
> 
> int_a^b  int_c^y g(x, y) dx dy
> 
> where g(x,y) = exp(- alpha (y - x)) * b
> 
> Thanks for answering!

One way would be to install the cubature package.

-- 

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list