Learn R Programming

ParamHelpers (version 1.8)

updateParVals: Insert par.vals to old ones with meeting requirements

Description

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.

Usage

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].