tiDaily: Daily and Business Day Time Indexes

Description Usage Arguments Value See Also

Description

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

Usage

1
2
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



Search within the tis package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.