Description Usage Arguments Examples
Combine two named lists
1 | combine_named_lists(x, y, replace = TRUE)
|
x, y |
a named list. All the elements must be uniquely named. |
replace |
a logical value, default as TRUE. If TRUE, all the 'x' elements with names that exist in the 'y' list will be replaced with the values in 'y'. |
1 2 3 | x <- list(x = 1, y = 2)
y <- list(x = 2)
combine_named_lists(x, y, FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.