Modify a list
update_list(`_data`, ...)
_data
A list.
...
New values of a list. Use NULL to remove values. Use a formula to evaluate in the context of the list values.
NULL
x <- list(x = 1:10, y = 4) update_list(x, z = 10) update_list(x, z = ~ x + y)