Description Usage Arguments Value
Builds a data.table object that contains pairs of antenna IDs in the form "antennaID1-antennaID2", where antennaID1 corresponds to a device while antennaID2 corresponds to another device, for each time instant over a time period when the network events are registered. These pairs are build for each distinct combination "deviceID1-deviceID2" of devices. The rows of the data.table object corresponds to a combination of devices and the columns corresponds to different time instants. The first two columns contains the device IDs of each pair of devices and the rest of the columns correspond to a time instant and contains the pairs antennaID1-antennaID2 where the two devices are connected at that time instant.
1 2 3 4 5 6 7 8 | computePairs(
connections,
ndevices,
oneToOne = TRUE,
P1 = 0,
limit = 0.05,
antennaNeighbors = NULL
)
|
connections |
A matrix with the antenna IDs where the mobile devices are
connected at every time instant. Each row corresponds to a device and each
column to a time instant. This matrix is obtained by calling |
ndevices |
The number of devices registered by the network. A vector
with device IDs can be obtained by calling |
oneToOne |
If TRUE, the result is built to apply the method "1to1" to
compute the duplicity probability for each device. This means that the result
will contain all combinations of devices. If FALSE, the result will consider
the proximity of antennas through the parameter |
P1 |
The apriori probability of duplicity. It is obtained by calling
|
limit |
A number that stands for the error in computing apriori probability of duplicity. |
antennaNeighbors |
A data.table object with a single column |
a data.table object. The first two columns contain the devices indices while the rest of the columns contains pairs antennaID1-antennaID2 with antenna IDs where the devices are connected. There is one column for each time instant for the whole time horizon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.