Skip to content
Back to formatted view

Raw Message

Message-ID: <91F3C25F-4814-4A53-BCE4-872C1E600790@comcast.net>
Date: 2013-02-16T19:18:40Z
From: David Winsemius
Subject: two dimensional integration
In-Reply-To: <CAHFJQgRi1n+3bhfZ_JuPNK5U52oZd6frN=aZGb0eunprUDzLjQ@mail.gmail.com>

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