get.step: returns the timestep in the object

Description Usage Arguments Examples

View source: R/utils.R

Description

the get.step functions take an object and depending on its type they compute the most common (or the declared) timestep.

Usage

1
get.step(L, require.constant)

Arguments

L

the object from which to extract the timestep.

require.constant

if the inferred timestep is not constant, return NA.

Examples

1
2
pidata <- timeseries(from=1234567890, to=1234587890, length.out=21)
get.step(pidata)

delftfews documentation built on May 2, 2019, 4:48 p.m.