Description Usage Arguments Value
View source: R/buildDuplicityTable1to1.R
Builds a data.table object with with two columns: device IDs and the duplicity probability for each device. This function is called in case of using the "1to1" method of computing the duplicity probabilities, receiving a list of matrix objects returned by each worker node with lines corresponding to a subset of devices.These parts are put together and form a symmetic matrix used to compute the duplicity probability. It is a utility function and it should not be called from outside the package.
1 | buildDuplicityTable1to1(res, devices, Pii, lambda = NULL)
|
res |
A list of matrix objects returned by each worker node with the number of rows corresponding to the number of devices allocated to an working node and the number of columns equals to the number of devices. |
devices |
A vector with device IDs. |
Pii |
Apriori probability of devices to be in 1-to-1 correspondence with the owner. |
lambda |
If this parameter is not NULL, the duplicity probabilities are computed according to the approach described in "An end-to-end statistical process with mobile network data for Official Statistics" paper. |
A data.table object with two columns: the device IDs and the corresponding duplicity probability for each device.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.