Learn R Programming

tis (version 1.39)

isIntradayTif: Check for Intraday Time Index Frequency

Description

The intraday frequencies are hourly(n), minutely(n) and secondly(n), where n is an appropriate integer. Their numeric tif codes are between 2000 and 4900, and that is what is actually checked for.

Usage

isIntradayTif(tif)

Arguments

tif

a character vector of tif names (see tifName) or a numeric vector of tif codes (see tif to be checked

Value

A logical vector as long as the input indicating which elements are intraday Time Index frequencies.

See Also

hourly, minutely, secondly

Examples

Run this code
# NOT RUN {
isIntradayTif(hourly(6))
isIntradayTif(tif(today()))
isIntradayTif(minutely(30))
# }

Run the code above in your browser using DataLab