This function is useful in creating dummy points for quadrature
schemes (see quadscheme
).
Given the data points, the function creates a collection of
nrad * nper * length(x)
dummy points.
Around each data point (x[i],y[i])
there are
nrad * nper
dummy points, lying on nrad
radii
emanating from (x[i],y[i])
, with nper
dummy points
equally spaced along each radius.
The (equal) spacing of dummy points along each radius is
controlled by the factor fctr
.
The distance from a data point to the furthest of its associated
dummy points is fctr * M
where M
is the mean nearest neighbour distance
for the data points.
If there is only one data point the nearest neighbour distance
is infinite, so the value Mdefault
will be used in place
of M
.
If x
is a point pattern, then the value returned is
also a point pattern, which is clipped to the window
of x
. Hence there may be fewer than
nrad * nper * length(x)
dummy points in the pattern
returned.