Keep the different parameters while use the same name in update first.
update_param(default, update)
Arguments
- default
default (data.frame, list, vector)
- update
update (data.frame, list, vector)
Value
same class of your input (data.frame, list or vector)
Examples
update_param(list(a = 1, b = 2), list(b = 5, c = 5))
#> $a
#> [1] 1
#>
#> $b
#> [1] 5
#>
#> $c
#> [1] 5
#>