as.list.ti {tis} | R Documentation |
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 class 'ti'
as.list(x, ...)
## S3 method for class 'jul'
as.list(x, ...)
Arguments
x |
a |
... |
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
Examples
as.list(today() + 1:5)
as.list(jul(today()) + 1:5)
[Package tis version 1.39 Index]