people.occurrence | R Documentation |
Calculate the identifiability of a person within a stay point's coverage. The identifiability is given via the average number of unique people present in the data. The more occurrence of people, the lower of identifiability to detect a specific person in the coverage.
people.occurrence(uid, x, y)
uid |
a vector of user id |
x, y |
vectors of user's locations |
a data.frame with columns: uid, x, y, occur, occur.r
occur the number of unique people detected at a stay point
occur.r the nomalized ratio of occur.
people.occurrence(movement$id, movement$lon, movement$lat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.