Nodes and weights for
polyCub.SV() were only cached
nGQ=59, not 60 as announced in version 0.5-0. Fixed
that which also makes examples truly run without statmod.
polyCub.SV(), the new special setting
f=NULL means to only compute nodes and weights.
Internal changes to the
to accommodate spatstat 1.39-0.
polyCub.SV() gained an argument
engine to choose
among available implementations. The new and faster C-implementation
is the default. There should not be any numerical differences in the
result of the cubature.
Package statmod is no longer strictly required
(imported). Nodes and weights for Gauss-Legendre quadrature in
polyCub.SV() are now cached in the polyCub package
::gauss.quad is only
queried for a higher number of nodes.
could not handle additional arguments for
integrate() given in the
control arguments also
to the numerical approximation of
checkintrfr() function is exported and documented.
Added a ‘CITATION’ file.
gained an additional argument
print.args, an optional list of arguments passed to
passed a data frame of coordinates
f instead of a matrix as documented.
This version solely fixes a missing ‘NAMESPACE’ import to make package polyCub again compatible with older versions of spatstat (< 1.33-0).
rgeos (and therefore the GEOS library) is no longer strictly required (moved from Imports to Suggests).
"owin" have been
removed from the package (since we no longer import the formal class
"gpc.poly" from gpclib or rgeos).
However, there are two new functions
owin2gpc similar to those dropped from spatstat
since version 1.34-0.
discpoly() back to surveillance since
it is only used there.
The latter two changes cause surveillance version 1.6-0 to be incompatible with this new version of polyCub. Appropriate modifications have been made in the new version 1.7-0 of surveillance.
thorough optimization of
resulted in about 27% speed-up:
mapply() instead of a
less object copying
xylist() is now exported. It simply extracts
polygon coordinates from various spatial classes (with same unifying
polyregion of class
of length more than 1 now works in
Use aspect ratio of 1 in
This version solely fixes a few typos and a technical note
R CMD check in the current R development version
(also import packages into the ‘NAMESPACE’ which are listed
in the “Depends:” field).
New cubature method
polyCub.iso() specific to isotropic
functions (thanks to Emil Hedevang for the basic idea).
plotpolyf() to plot a polygonal domain on
top of an image of a bivariate function.
The package now depends on R >= 2.15.0 (for
The package no longer registers
"owin" as an S4-class
since we depend on the sp package which does the job. This
avoids a spurious warning (in
discpoly(), the argument
r has been renamed
radius. This is backward compatible by partial argument
matching in old code.
This is the initial version of the polyCub package mainly built on functions previously maintained within the surveillance package. These methods for cubature of polygonal domains have been outsourced into this separate polyCub package since they are of general use for other packages as well.
The polyCub package has more documentation and tests,
avoids the use of gpclib as far as possible (using
rgeos instead), and solves a compatibility issue with
package maptools (use