Learn R Programming

tis (version 1.39)

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

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

# S3 method for ti
as.list(x, …)
# S3 method for jul
as.list(x, …)

Arguments

x

a ti or jul object

not used

Value

a list of one-element ti or jul objects.

Details

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

See Also

asClassyList, as.list

Examples

Run this code
# NOT RUN {
as.list(today() + 1:5)
as.list(jul(today()) + 1:5)
# }

Run the code above in your browser using DataLab