Re: [R] Improving result from integrate

2011-08-29 Thread . .
So guys, I am writing to ask for an opinion from you... As I begin to write in the previous post, I developed a function called myintegrate that is based in integrate but my function give better results for the problem I am dealing. My development was inspired in this post http://r.789695.n4.nabb

[R] Improving result from integrate

2011-08-29 Thread . .
Hi all, I am utilizing integrate() to get the area below a function that shape like an exponential, getting very low for higher values of the horizontal coordinate y. In the code below, I present the tricky way I can improve the result obtained. I compare this result with the one I get from Mathe