polyCub  R Documentation 
The wrapper function polyCub
can be used to call specific cubature
methods via its method
argument. It calls polyCub.SV
by default, which implements generalpurpose product Gauss cubature.
polyCub(polyregion, f, method = c("SV", "midpoint", "iso", "exact.Gauss"),
..., plot = FALSE)
polyregion 
a polygonal domain.
The following classes are supported:

f 
a twodimensional realvalued function to be integrated over

method 
choose one of the implemented cubature methods (partial
argument matching is applied), see 
... 
arguments of 
plot 
logical indicating if an illustrative plot of the numerical integration should be produced. 
The approximated integral of f
over polyregion
.
Details and examples in the vignette("polyCub")
and on the methodspecific help pages.
Other polyCubmethods:
polyCub.SV()
,
polyCub.exact.Gauss()
,
polyCub.iso()
,
polyCub.midpoint()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.