View source: R/predictability.R
entropy.spacetime | R Documentation |
In Song's paper, three kinds of entropy are involved to investigate the predictability of human mobility, i.e., random entropy $S^rand$, spatial entropy $S^unc$ and spatio-temproal entropy $S_i$.
entropy.spacetime(x, y = NULL)
x, y |
A chronologically ordered sequence of visited locations. The sequence is given by a vector (e.g. location names) or two vectors of location coordinates (e.g., latitude and longitude values). |
The entropy value in bits.
Song, C. et al., Limits of predictability in human mobility. Science 2010, 1018. (doi:10.1126/science.1177170)
entropy.rand
, entropy.space
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.