Determine Whether One Window is Contained In Another
Tests whether window A is a subset of window B.
is.subset.owin(A, B)
A |
A window object (see Details). |
B |
A window object (see Details). |
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.
Logical scalar; TRUE if A is a sub-window of B,
otherwise FALSE.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au
and Rolf Turner r.turner@auckland.ac.nz
w1 <- as.owin(c(0,1,0,1)) w2 <- as.owin(c(-1,2,-1,2)) is.subset.owin(w1,w2) # Returns TRUE. is.subset.owin(w2,w1) # Returns FALSE.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.