Displaying 1 result from an estimated 1 matches for "tidily".
Did you mean:
tiddly
2009 Dec 11
4
extracting vectors from lists of lists
...uot;vec","other")
set2 <- list(v2,other2)
names(set2) <- c("vec","other")
output <- list(set1, set2)
Is there some form of lapply() that will allow me to extract v1 and v2
(ie, the $vec elements) from both sets?
Bonus if I can then put it into a matrix tidily.
many thanks
Jennifer Young