Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

inferTi

Create a Time Index to Match a Vector of DateTimes


Description

Attempts to find a tif (Time Index Frequency) that "fits" the supplied dateTimes, and returns a ti object that hits the same dates and/or times.

Usage

inferTi(dateTimes)

Arguments

dateTimes

a vector POSIXct object, or something that as.POSIXct can coerce into one.

Value

a ti object as long as the input

Note

May fail if there is no tif that closely matches the inputs.

See Also

Examples

inferTi(Sys.time() + (1:5)*86400)

tis

Time Indexes and Time Indexed Series

v1.38
Unlimited
Authors
Jeff Hallman <jeffhallman@gmail.com>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.