update_params {altfuelr} | R Documentation |
Update Non-Null Parameters
update_params(params, updates)
params |
list of parameters |
updates |
list of new parameters |
an updated list of parameters
my_params <- list(name = "Matt Foley")
my_updates <- list(name = NULL, location = "a VAN down by the RIVER")
new_params <- update_params(params = my_params, updates = my_updates)