Re: [R] Integral implicit function

2007-12-10 Thread Peter Ruckdeschel
Have you tried vectorizing the inner function? Hint: integrate() calls the integrand vectorwise... in your example, integrate(Vectorize(f),lower=1,upper=2) should do what you expected. Best, Peter Eddy H. G. Bekkers wrote: Hi, Could somebody help me with the following. I want to

[R] Integral implicit function

2007-12-06 Thread Eddy H. G. Bekkers
Hi, Could somebody help me with the following. I want to calculate the integral over an implicit function. I thought to integrate over a function depending on uniroot. In previous topics I found a thread about finding the root of an integral. And that works. But the other way around, does not