evade_floating_point_errors {RCTS}R 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


[Package RCTS version 0.2.4 Index]