entropy.spacetime: Mobility entropy

View source: R/predictability.R

entropy.spacetimeR Documentation

Mobility entropy

Description

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$.

Usage

entropy.spacetime(x, y = NULL)

Arguments

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).

Value

The entropy value in bits.

References

Song, C. et al., Limits of predictability in human mobility. Science 2010, 1018. (doi:10.1126/science.1177170)

See Also

entropy.rand, entropy.space


caesar0301/movr documentation built on June 18, 2022, 2:37 a.m.