.random_round | R Documentation |
The probability of rounding to the ceiling value is equal to the difference between the unrounded value and its floor value.
.random_round(observations)
observations |
A vector of numeric values. |
For instance, 1.3 has 0.3 probability of being rounded to 2, and 0.7 probability of being rounded to 1.
Randomly-rounded observations: vector of integers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.