[R] Multivariate integration with infinite limits
Paul Smith
phhs80 at gmail.com
Sat Nov 10 14:46:03 CET 2007
On Nov 10, 2007 12:43 PM, Uwe Ligges <ligges at statistik.uni-dortmund.de> wrote:
> > Can R perform multivariate integration with infinite limits of integration?
>
> No, R does numerical (not symbolical) calculations, hence it can never
> perform integration (not even univariate) with infinite limits.
Not entirely true in the one-dimensional case:
> f <- function(x) {exp(-x)}
> integrate(f,0,Inf)
1 with absolute error < 5.7e-05
>
Paul
More information about the R-help
mailing list