Displaying 1 result from an estimated 1 matches for "093458".
Did you mean:
93458
2011 Apr 07
2
Selecting data from list object
Hello Group,
Is there a simpler way to get data out of a list object? (like in data
frame without using the apply functions)
I have the following dataset
> dput(d)
list(c("20110405", "092102"), c("20110405", "092538"), c("20110405",
"093458"), c("20110405", "101124"), c("20110405", "102041"),
c("20110405", "103659"))
I extracted my data like this:
getDate <- function(x)(unlist(x[[1]]))
unlist(lapply(d, getDate))
[1] "20110405" "20110405" &qu...