Learn R Programming

paradox (version 1.0.1)

domain_sanitize: Map to Acceptable Value

Description

Map values that are close enough to the given Domain to values that are truly acceptable.

This is used to map numeric() values that are close to but outside the acceptable interval to the interval bounds. It is also used to convert integer-valued numeric values to integer values for p_int().

Usage

domain_sanitize(param, values)

Value

any -- format depending on the Domain.

Arguments

param

(Domain).

values

(any) -- format depending on the Domain.