mergeLists | R Documentation |
Merge Lists Overriding Elements of the Same Name
mergeLists(..., warn.on.NULL = TRUE)
... |
lists |
warn.on.NULL |
if TRUE (default) a warning is given if any of the arguments given to this function is NULL |
list containing the elements given in ...
arglist
# merge two lists with different elements
mergeLists(list(a = 1), list(b = 2))
# merge two lists with one element of the same name: override element "b"
mergeLists(list(a = 1, b = 2), list(b = 3, c = 4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.