Difference of Disc Areas
Computes the area of that part of a disc that is not covered by other discs.
areadiff(u, X, r, ngrid=256)
- Coordinates of the centre of the disc. A vector of length 2.
- Locations of the centres of other discs.
A point pattern (object of class
- Disc radius.
- Dimensions of the
ngrid * ngridarray of test points that will be used to estimate the uncovered area.
This function computes the area of that part of
the disc of radius
r centred at the location
that is not covered by any of the discs of radius
centred at the points of the pattern
- A single number (the uncovered area)
data(cells) u <- c(0.5,0.5) areadiff(u, cells, 0.1)