update_params: Update Non-Null Parameters

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Update Non-Null Parameters

Usage

1
update_params(params, updates)

Arguments

params

list of parameters

updates

list of new parameters

Value

an updated list of parameters

Examples

1
2
3
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)

altfuelr documentation built on Jan. 13, 2021, 10:19 a.m.