getConnections: Builds a matrix object containing the IDs of the antennas to...

Description Usage Arguments Value

View source: R/getConnections.R

Description

Builds a matrix object containing the IDs of the antennas to which devices are connected. The number of rows equals the number of devices and the number of columns equals the number of time instants when the network events were recorded. An element [i,j] in the returned matrix equals the ID of the antenna where the mobile device with index i in the ordered list of device IDs (returned by getDeviceIDs()) is connected at the time instant with index j in the sequence of time instants when the network events were recorded.

Usage

1

Arguments

events

A data.table object returned by readEvents() function.

Value

A matrix object with the antenna IDs where devices are connected for every time instants in the events file. If a device is not connected to any antenna at a time instant, the corresponding element in the matrix will have the value NA.


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