polyCub: Cubature over Polygonal Domains
Version 0.5-2

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.

AuthorSebastian Meyer [aut, cre, trl], Leonhard Held [ths], Michael Hoehle [ths]
Date of publication2016-04-19 08:59:43
MaintainerSebastian Meyer <Sebastian.Meyer@ifspm.uzh.ch>
LicenseGPL-2
Version0.5-2
URL https://github.com/WastlM/polyCub
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("polyCub")

Getting started

Package overview

Popular man pages

coerce-gpc-methods: Conversion between polygonal '"owin"' and '"gpc.poly"'
coerce-sp-methods: Coerce '"SpatialPolygons"' to '"owin"'
dotprod: Dot/Scalar Product of Two Vectors
gpclibPermit: 'gpclib' Licence Acceptance
isClosed: Check if Polygon is Closed
polyCub.midpoint: Two-Dimensional Midpoint Rule
vecnorm: Euclidean Vector Norm (Length)
See all...

All man pages Function index File listing

Man pages

checkintrfr: Check the Integral of r f_r(r)
circleCub.Gauss: Integration of the Isotropic Gaussian Density over Circular...
coerce-gpc-methods: Conversion between polygonal '"owin"' and '"gpc.poly"'
coerce-sp-methods: Coerce '"SpatialPolygons"' to '"owin"'
dotprod: Dot/Scalar Product of Two Vectors
gpclibPermit: 'gpclib' Licence Acceptance
isClosed: Check if Polygon is Closed
isScalar: Checks if Argument is Scalar
makegrid: Constructs Equally-Spaced Grid
plotpolyf: Plot Polygonal Domain on Image of Bivariate Function
plot_polyregion: Plots a Polygonal Domain (of Various Classes)
polyCub: Wrapper Function for the Various Cubature Methods
polyCub.exact.Gauss: Quasi-Exact Cubature of the Bivariate Normal Density
polyCub.iso: Cubature of Isotropic Functions over Polygonal Domains
polyCub.midpoint: Two-Dimensional Midpoint Rule
polyCub-package: Cubature over Polygonal Domains
polyCub.SV: Product Gauss Cubature over Polygonal Domains
polygauss: Calculate 2D Nodes and Weights of the Product Gauss Cubature
vecnorm: Euclidean Vector Norm (Length)
xylist: Convert Various Polygon Classes to a Simple List of Vertices

Functions

.polyCub.iso Man page
V Source code
as.owin.Polygon Man page Source code
as.owin.Polygons Man page Source code
as.owin.SpatialPolygons Man page Source code
as.owin.gpc.poly Man page Source code
checkintrfr Man page Source code
circleCub.Gauss Man page Source code
coerce,Polygon,Polygons-method Man page
coerce,Polygon,owin-method Man page
coerce,Polygons,owin-method Man page
coerce,SpatialPolygons,owin-method Man page
coerce-gpc-methods Man page
coerce-sp-methods Man page
dotprod Man page Source code
gauss.quad Source code
gpc2owin Man page Source code
gpclibCheck Source code
gpclibPermit Man page Source code
gpclibPermitStatus Man page Source code
isClosed Man page Source code
isScalar Man page Source code
know_gpc.poly Source code
lineInt Source code
lineInt2 Source code
makegrid Man page Source code
ntTriangleAS Source code
ntTriangleAS0 Source code
onLoad Source code
owin2gpc Man page Source code
plot_polyregion Man page Source code
plotpolyf Man page Source code
pointsOnSameSide Source code
polyCub Man page Source code
polyCub-package Man page
polyCub.SV Man page Source code
polyCub.exact.Gauss Man page Source code
polyCub.iso Man page Source code Source code
polyCub.midpoint Man page Source code
polyCub1.iso Source code
polygauss Man page Source code
polygauss.side Source code
rotmatPQ Source code
transform_pts Source code
vecnorm Man page Source code
vertexpairmaxdist Source code
xylist Man page Source code
xylist.Polygon Man page Source code
xylist.Polygons Man page Source code
xylist.SpatialPolygons Man page Source code
xylist.default Man page Source code
xylist.gpc.poly Man page Source code
xylist.owin Man page Source code

Files

inst
inst/examples
inst/examples/polyCub.iso.R
inst/examples/polyCub.R
inst/examples/plotpolyf.R
inst/CITATION
inst/NEWS.Rd
tests
tests/testthat
tests/testthat/test-NWGL.R
tests/testthat/test-regression.R
tests/testthat/test-polyCub.R
tests/test-all.R
src
src/polyCub.SV.c
NAMESPACE
R
R/polyCub.SV.R
R/polyCub.iso.R
R/polyCub.R
R/sysdata.rda
R/polyCub.midpoint.R
R/xylist.R
R/polyCub.exact.Gauss.R
R/plotpolyf.R
R/tools.R
R/coerce-gpc-methods.R
R/circleCub.R
R/zzz.R
R/coerce-sp-methods.R
MD5
DESCRIPTION
man
man/coerce-gpc-methods.Rd
man/dotprod.Rd
man/polyCub.Rd
man/plot_polyregion.Rd
man/vecnorm.Rd
man/polyCub-package.Rd
man/checkintrfr.Rd
man/polyCub.exact.Gauss.Rd
man/circleCub.Gauss.Rd
man/polyCub.midpoint.Rd
man/polyCub.iso.Rd
man/xylist.Rd
man/makegrid.Rd
man/polygauss.Rd
man/plotpolyf.Rd
man/gpclibPermit.Rd
man/polyCub.SV.Rd
man/isScalar.Rd
man/coerce-sp-methods.Rd
man/isClosed.Rd
polyCub documentation built on May 19, 2017, 5:29 p.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.