returns the timestep in the object

Share:

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)