This function tests whether the window A
is a subset
of the window B
.
The arguments A
and B
must be window objects
(either objects of class "owin"
, or data that can be
coerced to this class by as.owin
).
Various algorithms are used, depending on the geometrical type
of the two windows.
Note that if B
is not rectangular, the algorithm proceeds by
discretising A
, converting it to a pixel mask using
as.mask
. In this case the resulting
answer is only ``approximately correct''. The accuracy of the
approximation can be controlled: see as.mask
.