check_overlap: Check if proposed configurations overlap

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

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

1
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)

overlap

See create_geo_objects

Value

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

Author(s)

Albert Y. Kim


SpatialEpi documentation built on May 30, 2017, 5:23 a.m.

Search within the SpatialEpi package
Search all R packages, documentation and source code