Find the time step applied in a sequence of timestamps. Give a warning if more than one time step was found.

getTimestepInSeconds(timestamps, default = 60)

Arguments

timestamps

vector of POSIXt objects

default

default time step in seconds. Default: 60

Value

smallest, non-zero timestep in seconds found in the sequence of timestamps