View source: R/base_list_append.R
list.append | R Documentation |
Helper function to append an R list.
list.append(main_list, append_list, ...)
main_list |
A list, to which another should be appended. |
append_list |
A list to append to |
... |
Further arguments passed to |
This function is a save wrapper around utils::modifyLists
to
combine lists as it checks for the input types and only appends the new
list if its length is greater than 0.
A list
is returned.
utils::modifyList()
l1 <- list("a" = 1, "b" = 2)
l2 <- list("c" = 3, "d" = 4)
list.append(l1, l2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.