Convert a vector into a list of objects with the same class
Turns its argument into a list of elements with the same class as the argument.
asClassyList(x, ...)
x |
object to be coerced or tested. |
... |
objects, possibly named. |
A list L
of one-element vectors with
L[[i]] == x[i] for i in 1:length(x)
The implementation of this function is identical to
as.list.factor
. It is used in as.list.ti
and
as.list.jul
.
asClassyList(today() + 1:5)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.