polyCub.iso.
The (analytical) integral of \(r f_r(r)\) from 0 to \(R\) is checked
against a numeric approximation using integrate for various
values of the upper bound \(R\). A warning is issued if inconsistencies
are found.checkintrfr(intrfr, f, ..., center, control = list(), rs = numeric(0L),
tolerance = control$rel.tol)R
(first argument, not necessarily named "R", must be vectorized).
If missing, intrfr is approximated numerically using
integrate configured with control.f or intrfr.integrate, the
quadrature rule used for the line integral along the polygon boundary.intrfr. If it has length 0, no checks are performed.all.equal.numeric when comparing
intrfr results with numerical integration. Defaults to the
relative tolerance used for integrate.intrfr function. If it was not supplied, its quadrature
version using integrate is returned.