as.list.ti: Construct a List from a Time Index or Jul Object

Description Usage Arguments Details Value See Also Examples

View source: R/ti.R

Description

as.list.ti creates a list of one-element ti objects from the elements of its arguments.

as.list.jul creates a list of one-element jul objects from the elements of its arguments.

Usage

1
2
3
4
## S3 method for class 'ti'
as.list(x, ...)
## S3 method for class 'jul'
as.list(x, ...)

Arguments

x

a ti or jul object

...

not used

Details

These are the ti and jul methods for the generic as.list.

Value

a list of one-element ti or jul objects.

See Also

asClassyList, as.list

Examples

1
2
as.list(today() + 1:5)
as.list(jul(today()) + 1:5)

tis documentation built on Sept. 29, 2021, 1:06 a.m.