flow.stat | R Documentation |
Calculate flow stat between locations
flow.stat(loc, stime, etime, gap = 86400)
loc |
A 1D vector to record locations of movement history |
stime |
The starting timestamp (SECONDS) vector of movement history |
etime |
The ending timestamp (SECONDS) vector of movement history |
gap |
The temporal idle interval |
gen.sessions
, flowmap
, flowmap2
,
plot_flowmap
data(movement) user_move <- subset(movement, id==1) sessions <- gen.sessions(user_move[,c("loc", "time")]) res <- with(sessions, flow.stat(loc, stime, etime)) head(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.