set_httk_precision: set_httk_precision

View source: R/set_httk_precision.R

set_httk_precisionR Documentation

set_httk_precision

Description

Although the ODE solver and other functions return very precise numbers, we cannot (or at least do not spend enough computing time to) be sure of the precioion to an arbitrary level. This function both limits the number of signficant figures reported and truncates the numerical precision.

Usage

set_httk_precision(in.num, sig.fig = 4, num.prec = 9)

Arguments

in.num

The numeric variable (or assembly of numerics) to be processed.

sig.fig

The number of significant figures reported. Defaults to 4.

num.prec

The precision maintained, digits below 10^num.prec are dropped. Defaults to 9.

Value

numeric values

Author(s)

John Wambaugh


httk documentation built on March 7, 2023, 7:26 p.m.