Learn R Programming

altfuelr (version 0.1.0)

update_params: Update Non-Null Parameters

Description

Update Non-Null Parameters

Usage

update_params(params, updates)

Arguments

params

list of parameters

updates

list of new parameters

Value

an updated list of parameters

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab