Jan Quets jan.qu...@ua.ac.be writes: > I want to make a rectangular window with circular holes within. > I have tried and searched but not found a solution yet.
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) _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo