Message-ID: <20030426125659.8825.qmail@web41310.mail.yahoo.com>
Date: 2003-04-26T12:56:59Z
From: N Dey
Subject: Multiple Integration
Dear all,
May I do multiple integration using R? I was looking
adapt but it is saying it integrates a scalar function
over a multidimensional rectangle. I have integrand of
several variable and upper, lower limit too variable.
I wanted to see the result using adapt (though it is
not for this purpose, I suppose)
Func<-function(x){(x[1]*x[2])}
adapt(2, lo=c(0,1), up=c(1,x[1]), functn=Func)
it is not giving any error(it should, if it is not the
correct way of putting up) but also not giving correct
result.
Is there any package to handle multiple integration in
R??
Thanking you,
with best regards,
N. Dey