Skip to contents

Update a list with new values for elements

Usage

update_list(list = list(), ...)

Arguments

list

list to be updated with ....

...

Named elements to update in list

Value

Updated list.

See also

Examples

   orig_list <- list(a = 1, b = 3, c = 4)
   update_list(orig_list)
   update_list(orig_list, a = "a")
   update_list(orig_list, a = 10, b = NULL)