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 ______________________________________________ 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.