View source: R/plot_mobility.R
plot_traj_graph | R Documentation |
This function plots a trajectory of a specific user as a weighted graph. Each node represents a stay point whose size indicates the (log) length of dwelling time. Each directed edge means the existence transition between stay points and its width indicates the (log) transition frequencies.
plot_traj_graph(loc, time, ...)
data(movement) user <- subset(movement, id==20) plot_traj_graph(user$loc, user$time)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.