Description Usage Arguments Value Examples
Convert non-integer to integer.
The output will be an integer which is obtained by ceiling()
or floor()
and the mean of the output of multiple trials equals to the input.
For example, if input is 1.7, the output will be 1 by 30% or 2 by 70%.
1 | integerize(number)
|
number |
numeric vector. |
numerc vector of the same length with the input.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.