reset_tol | R Documentation |
These functions reset both scalar and customized values for both
relative and absolute tolerances. All functions reset tolerances to a single,
common rtol
or atol
. The functions do not change which tolerance
configuration is used for simulation (e.g., scalar or customized); see
use_custom_tol()
and use_scalar_tol()
to make that change in the model
object.
reset_tol(x, rtol = NULL, atol = NULL)
reset_rtol(x, rtol = NULL)
reset_atol(x, atol = NULL)
x |
a model object. |
rtol |
global relative tolerance for both scalar and customized
configurations; if not supplied, the current model's scalar |
atol |
global absolute tolerance for both scalar and customized
configurations; if not supplied, the current model's scalar |
An updated model object.
custom_tol()
, use_custom_tol()
, use_scalar_tol()
, get_tol()
mod <- house()
mod <- reset_tol(mod, rtol = 1e-6, atol = 1e-10)
mod
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.