Description Usage Arguments Value
View source: R/centerOfProbabilities.R
Computes the center of probabilities (as center of mass) for each posterior probability cloud, at each time instant, for a device. It uses the results obtained from destim package.
1 | centerOfProbabilities(centroid, postLocProb)
|
centroid |
A data.table object with the centroids for each tile in the grid. |
postLocProb |
a Matrix object with the posterior location probabilities
computed by destim for a device. The number of rows equals the number
of tiles and the number of columns equals the number of successive time
instants. An element |
A table with two columns: centerProb_x
and centerProb_y
representing the x and y coordinates of the centers of probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.