evade_floating_point_errors: Function to evade floating point errors.

View source: R/functions_cleaning.R

evade_floating_point_errorsR Documentation

Function to evade floating point errors.

Description

Sets values that should be zero but are >0 (e.g. 1e-13) on zero.

Usage

evade_floating_point_errors(x, LIMIT = 1e-13)

Arguments

x

numeric input

LIMIT

limit under which value is set to 0

Value

numeric


eh-in-r/RCTS documentation built on May 19, 2023, 1:09 p.m.