Skip to content

circular holes in rectangular polygon

1 message · Adrian Baddeley

#
Jan Quets Jan.Quets at ua.ac.be writes:
library(spatstat)
R <- owin(c(0,4),c(0,5))
O <- disc(radius=1, centre=c(2, 3))
W <- complement.owin(O, frame=R)
plot(W)