Description Usage Arguments Value See Also Examples
This function is a simple wrapper that subsets a move
or moveStack
by a given time span. A move
or moveStack
containing data only for the subset time span is returned.
1 | subset_move(m, from, to, tz = "UTC")
|
m |
a |
from |
character or |
to |
character or |
tz |
character, time zone that should be used if |
A move
or moveStack
object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | library(moveVis)
library(move)
# load the example data
data("move_data")
# check min and max of move_data timestamps
min(timestamps(move_data))
max(timestamps(move_data))
# subset by character times
m <- subset_move(move_data, from = "2018-05-15 07:00:00", to = "2018-05-15 18:00:00")
# check min and max of result
min(timestamps(m))
max(timestamps(m))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.