antennaNeighbours: Computes a list of neighbouring antennas.

Description Usage Arguments Value

View source: R/antennaNeighbours.R

Description

Computes a list of pairs antennaID1-antennaID2 with neighbouring antennas. Two antennas are considered neighbours if their coverage areas overlap (i.e. their intersection is not void).

Usage

1
antennaNeighbours(coverarea)

Arguments

coverarea

a data.table object with two columns: antennaID and cell. The first column contains the ID of each antenna while the second one contains a sp object that represents the coverage area of the corresponding antenna. The coverage area is obtained by calling readCells() function.

Value

A data.table object with a single column called nei. Each element of this column is a pair of the form antennaID1-antennaID2 where the two antennas are considered neighbours.


bogdanoancea/deduplication documentation built on Dec. 2, 2020, 11:22 p.m.