repairPoint: Repairs values of numeric and integer parameters out side of...

View source: R/repairPoint.R

repairPointR Documentation

Repairs values of numeric and integer parameters out side of constraints.

Description

Clips values outside of box constraints to bounds.

Usage

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.


ParamHelpers documentation built on July 4, 2022, 5:07 p.m.