bound_tolerance: Bounding to Numerical Tolerance

Description Usage Arguments

View source: R/bound.R

Description

Bounds extreme values to a specified tolerance level, for use with sensitive quantities that must be transformed, e.g., via qlogis.

Usage

1
bound_tolerance(vals, tol = 1e-04)

Arguments

vals

A numeric vector of values in the closed unit interval.

tol

A numeric indicating the tolerance limit to which extreme values should be truncated. Realizations of val less than tol are truncated to tol while those greater than (1 - tol) are truncated to (1 - tol).


Netflix/sherlock documentation built on Dec. 17, 2021, 5:22 a.m.