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.

subset_move(m, from, to, tz = "UTC")

## Arguments

m a move or moveStack object (see df2move to convert a data.frame to a move object). character or POSIXct, representing the start time. If character, the format "%m-%d-%y %H:%M:%S" must be used (see strptime). character or POSIXct, representing the stop time. If character, the format "%m-%d-%y %H:%M:%S" must be used (see strptime). character, time zone that should be used if from and/or to are of type character.

## Value

A move or moveStack object.

df2move

## Examples

library(moveVis)
library(move)

max(timestamps(m))