update_list: Update a List's Elements

update_listR Documentation

Update a List's Elements

Description

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

Other utilities: file_ext(), foy(), ifnull(), messages, named_null_list(), package_version_finder(), round_na.interp()

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)


weecology/portalPredictionsModels documentation built on Jan. 31, 2024, 12:03 p.m.