Description Usage Arguments Value
View source: R/computeDuplicityTrajectory.R
Computes the duplicity probabilities for each device using the trajectory approach described in WPI Deliverable 3.
1 2 3 4 5 6 7 8 9 10 | computeDuplicityTrajectory(
path,
prefix,
devices,
gridParams,
pairs,
P1,
T,
gamma
)
|
path |
The path where the files with the posterior location probabilities for each device are to be found. |
devices |
A vector with device IDs. |
gridParams |
A list with the number of rows and columns of the grid and
the tile dimensions on OX and OY axes. The items of the list are named |
pairs |
A data.table object containing pairs with the IDs of compatible
devices. It is obtained calling |
P1 |
The apriori probability for a device to be in 1-to-1 correspondence with its owner. |
T |
The sequence of time instants in the data set. |
gamma |
A coefficient needed to compute the duplicity probability. See WPI Deliverable 3. |
a data.table object with two columns: deviceID
and dupP
.
On the first column there are deviceIDs and on the second column the
corresponding duplicity probability, i.e. the probability that a device is in
a 2-to-1 correspondence with the holder.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.