Description Usage Arguments Value Examples
View source: R/basic_functions.R
After use of the function round_precision
the norm of the
input vector may have been altered by the rounding procedure. This
function restores the norm by altering only the largest entry in the
rounded vector (in order to create the least possible relative error).
1 | correct_rounded(x, in_interval = c(0, 1))
|
x |
vector to be rounded |
in_interval |
Interval |
The adapted form of the input vector x
.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.