[R] Double Infinite Integration

S Ellison S.Ellison at lgcgroup.com
Thu Dec 5 16:28:37 CET 2013


> -----Original Message-----
> I need to perform the following integration where the integrand is the
> product of three functions:
> f(x)g(y)z(x,y)
> 
> the limits of x are(0,inf) and the limits of y are(-inf,inf).
> 
> Could this be done using R? I tried using the function integrate 2 times, but it
> didn't work:
> z<- function(x,y) {
> 
> 
> }
.....
> 
>    I didn't get any output at all!!!


The function z() you provided is not doing anything; it is defined in your post as z<-function(x,y){}

Surprised you didn't get at least NULL, though.








*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}



More information about the R-help mailing list