load(system.file("extdata", "move.RData", package="move"), .GlobalEnv)
stack <- moveStack(list(leroy,leroy))
head(time.lag(leroy)) #calculate timelags for a Move object
head(time.lag(stack)) #calculate timelags for a MoveStack object
head(time.lag(stack, units="hours")) #calculate timelags in different units
Run the code above in your browser using DataLab