The following methods for cubature (numerical integration) over polygonal domains are currently implemented: the two-dimensional midpoint rule as a simple wrapper around as.im.function() from package spatstat (Baddeley and Turner, 2005), the product Gauss cubature by Sommariva and Vianello (2007), an adaptive cubature for isotropic functions via line integrate() along the boundary (Meyer and Held, 2014), and quasi-exact methods specific to the integration of the bivariate Gaussian density over polygonal and circular domains (based on formulae from the Abramowitz and Stegun (1972) handbook). For cubature over simple hypercubes, the packages "cubature" and "R2Cuba" are more appropriate.

Documentation

Manual: polyCub.pdf
Vignette: None available.

Maintainer: Sebastian Meyer <Sebastian.Meyer at ifspm.uzh.ch>

Author(s): Sebastian Meyer*, Leonhard Held*, Michael Hoehle*

Install package and any missing dependencies by running this line in your R console:

install.packages("polyCub")

Depends R (>= 2.15.0), methods, sp
Imports grDevices, graphics, stats, spatstat
Suggests lattice, testthat, mvtnorm, statmod, rgeos, gpclib
Enhances
Linking to
Reverse
depends
rase, surveillance
Reverse
imports
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package polyCub
Materials
URL https://github.com/WastlM/polyCub
Task Views NumericalMathematics
Version 0.5-2
Published 2016-04-19
License GPL-2
BugReports https://github.com/WastlM/polyCub/issues
SystemRequirements
NeedsCompilation yes
Citation
CRAN checks polyCub check results
Package source polyCub_0.5-2.tar.gz