dispersionRadius: Computes the radius of dispersion for the probability cloud...

Description Usage Arguments Value

View source: R/dispersionRadius.R

Description

Computes the radius of dispersion for the probability cloud of a device at each time instant. The posterior location probabilities for a specific device, for each tile and each time instant, is provided as a parameter. The definition of the dispersion radius is given in WPI Deliverable 3.

Usage

1
2
3
4
5
6
7
dispersionRadius(
  centroid,
  postLocProb,
  center = NULL,
  method = "euclidean",
  p = 2
)

Arguments

centroid

The centroids of all tiles in the grid.

postLocProb

The posterior location probabilities for a device, for each tile and each time instant.

center

The (mass) center of posterior location probabilities. If it is not provided, it is computed here.

method

The distance function to be used. The euclidean distance is the default method.It could be "maximum", "manhattan", "canberra", "binary" or "minkowski".

p

The power of the Minkowski distance. The default value is 2 (euclidean distance).

Value

A vector with dispersion radius for each time instant, for the device under consideration.


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