computeDuplicityTrajectory: Computes the duplicity probabilities for each device using...

Description Usage Arguments Value

View source: R/computeDuplicityTrajectory.R

Description

Computes the duplicity probabilities for each device using the trajectory approach described in WPI Deliverable 3.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
computeDuplicityTrajectory(
  path,
  prefix,
  devices,
  gridParams,
  pairs,
  P1,
  T,
  gamma
)

Arguments

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 nrow, ncol, tileX and tileY.

pairs

A data.table object containing pairs with the IDs of compatible devices. It is obtained calling buildPairs() function.

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.

Value

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.


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