SpatialEpi (version 1.2.3)

check_overlap: Check if proposed configurations overlap

Description

Given a matrix config of proposed configurations, using the single zone information in overlap, see if each proposed configuration is valid in that the single zones don't overlap with each other.

Usage

check_overlap(config, overlap)

Arguments

config

n by k matrix of configurations where n is the number of proposed configurations and k is the configuration size (in terms of the number of single zones)

Value

A vector of length n indicating if each of the proposed configs overlap (0 if they do overlap, 1 if they don't)