View source: R/set_httk_precision.R
set_httk_precision | R Documentation |
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.
set_httk_precision(in.num, sig.fig = 4, num.prec = 9)
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. |
numeric values
John Wambaugh
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.