noz | R Documentation |
Determine non-overlapping zones from a list of candidate zones.
noz(x)
x |
A list containing the candidate zones. |
The function takes a list of candidate zones. Each element of the list contains a candidate zones. The candidate zones are defined by the location indices of the regions comprising the zones. Starting with the first candidate zone, the function excludes every candidate zone that intersects the first (any other candidate zone that shares indices with the first zone). Moving onto the next non-overlapping candidate zone, the process is repeated. The function returns the indices (in the list of zones) of the zones that do not overlap.
A vector with the list indices of the non-overlapping zones.
Joshua French
x <- list(1:2, 1:3, 4:5, 4:6, 7:8)
noz(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.