Last active
September 30, 2015 11:49
-
-
Save mkuhn/b1b6ad8d37c63b1e929d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> library(purrr) | |
> ll <- list(list(a=1:3, b=4), list(a=5:7, b=8)) | |
> ll %>% map(lift_dl(c)) %>% map_call(rbind) | |
a1 a2 a3 b | |
[1,] 1 2 3 4 | |
[2,] 5 6 7 8 | |
> Reduce(rbind, ll) | |
a b | |
init Integer,3 4 | |
Integer,3 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment