Description Usage Arguments Details Value See Also Examples
View source: R/get_frametimes.R
This function extracts the timestamps associated with each frame of a list of frames created using frames_spatial
or frames_graph
and returns them as a vector.
1 | get_frametimes(frames)
|
frames |
list, list of frames created using |
moveVis
stores the times represented by a frame as an attribute "time"
for each ggplot
frame.
A POSIXct vector of timestamps representing the time assoicated with each frame in frames
.
1 2 3 4 5 6 7 8 9 10 11 | library(moveVis)
library(move)
data("move_data")
# align movement
m <- align_move(move_data, res = 4, unit = "mins")
frames <- frames_spatial(m, map_service = "osm", map_type = "watercolor")
frames.ts <- get_frametimes(frames)
print(frames.ts)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.