Update the values of a given parameter setting with a new parameter setting. Settings that do not meet the requirements anymore will be deleted from the first given parameter setting. Default values of the Param Set are respected to chek if the new param settings meet the requirements.

updateParVals(par.set, old.par.vals, new.par.vals, warn = FALSE)

Arguments

par.set

ParamSet
Parameter set.

old.par.vals

list
Param Values to be updated.

new.par.vals

list
New Param Values to update the old.par.vals.

warn

logical
Whether a warning should be shown, if a param setting from old.par.vals is dropped. Default is FALSE.

Value

list.