getTimestepInSeconds: Get Time Step in Seconds

Description Usage Arguments Value

View source: R/step.R

Description

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

Usage

1
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


KWB-R/kwb.datetime documentation built on July 9, 2021, 10:28 p.m.