Re: [R] Numerical integration problem

2009-09-23 Thread Ravi Varadhan
rg Subject: [R] Numerical integration problem Hi there I'm trying to construct a model of mortality risk in 2D space that requires numerical integration of a hazard function, for which I'm using the integrate function. I'm occasionally encountering parameter combinations that cause inte

[R] Numerical integration problem

2009-09-23 Thread Marcus Rowcliffe
Hi there I'm trying to construct a model of mortality risk in 2D space that requires numerical integration of a hazard function, for which I'm using the integrate function. I'm occasionally encountering parameter combinations that cause integrate to terminate with error "Error in integrate... the i