Integrates over the unit square.
integrate2d(fun, error = 1.0e-5, …)
the function to be integrated. The first argument requests the x values, the second the y values, and the remaining are reserved for additional parameters. The integration is over the unit square "[0,1]\^2".
the error bound to be achieved by the integration formula. A numeric value.
parameters passed to the function to be integrated.
integrate2d
returns a list with the $value
of the integral over the
unit square [0,1]\^2, an $error
estimate and the number
of grid $points
used by the integration function.
Azzalini A., (2004); The sn Package; R Reference Guide available from www.r-project.org.
Venables W.N., Ripley B.D., (2002); Modern Applied Statistics with S, Fourth Edition, Springer.
Warnes G.R., (2004); The gregmisc Package; R Reference Guide available from www.r-project.org.