Description Usage Arguments Value Examples
expand two lists into a dataframe. l1 and l2 can be a nested list.
1 | element_wise_expand_lists(l1, l2)
|
l1 |
first list |
l2 |
second list |
data.frame with two columns, Var1 and Var2.
1 2 3 4 5 6 7 | l1 <- list(1, 2, 3, 4)
l2 <- list(1, 2, 3, 4)
element_wise_expand_lists(l1, l2)
l1 <- list(1, 2, 3, 4)
l2 <- list(1, 2, 3, c(1, 3))
element_wise_expand_lists(l1, l2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.