Learn R Programming

tis (version 1.39)

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

ti, jul