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)
timestamps | vector of POSIXt objects |
---|---|
default | default time step in seconds. Default: 60 |
smallest, non-zero timestep in seconds found in the sequence of timestamps