Clips values outside of box constraints to bounds.

repairPoint(par.set, x, warn = FALSE)

Arguments

par.set

ParamSet
Parameter set.

x

list
List of parameter values. Must be in correct order. Values corresponding to non-numeric/integer types are left unchanged.

warn

(logical(1))
Boolean indicating whether a warning should be printed each time a value is repaired. Default is FALSE.

Value

list: List of repaired points.