non-finite function value

Searching…

stat.ethz.ch

[R] Error in integrate (integrand, 0, Inf) : non-finite ...

Oct 21, 2012 · This implies an immediate return in function ll. You initialize integ as a vector. But in the inner s loop you assign a scalar to integ. The whole thing looks very muddled. Your code should be indented ...

rdrr.io

integrate: Integration of One-Dimensional Functions

If one or both limits are infinite, the infinite range is mapped onto a finite interval. For a finite interval, globally adaptive interval subdivision is used in connection with extrapolation by Wynn's Epsilon algorit...