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

tiDaily

Daily and Business Day Time Indexes


Description

Return a daily or business day ti corresponding to a specified position within a time index.

Usage

tiDaily(xTi, offset = 1)
tiBusiness(xTi, offset = 1)

Arguments

xTi

a ti object or something that the ti() function can turn into a ti object

offset

for ti xTi, a number in the range [0,1] telling where in the period represented by x to find the day. 0 means the first day of the period, 1 the last day of the period, and fractional values for in-between day.

Value

tiDaily converts its first argument to a jul using the offset provided, and returns a daily ti for that day.

tiBusiness converts its first argument to a jul using the offset provided, and returns a "business" ti for that day.

See Also


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.